当前位置: redice's Blog > TAG标签 > OneToOneFiel

日期:11-05-03 |  分类:Django |  标签:DjangoOneToOneFielForeignKey |  0 Comments

在stackoverflow发了个帖子问这个问题( http://stackoverflow.com/questions/5870537/whats-the-difference-between-django-onetoonefield-and-foreignkey ),马上就有人回复了: 说是ForeignKey是one-to-many的,并举了一个车的例子: 有两个配件表,一个

阅读剩余部分...

    共1页/1条

redice's Blog  is powered by DedeCms |  Theme by Monkeii.Lee |  网站地图 |  本服务器由西安鲲之鹏网络信息技术有限公司友情提供

返回顶部