background image

**options])    #time

V=models.TextField([**options])    #text

V=models.XMLField(schema_path=None[, 

**options])    #text 

V=models.ForeignKey(othermodel[, 
**options])    #外键,关联其它模型,创建关联索引
V=models.ManyToManyField(othermodel[, 
**options])    #多对多,关联其它模型,创建关联表
V=models.OneToOneField(othermodel[, 
parent_link=False, **options])    #一对一,字段关联表属性