摘要: 继续(一)的内容:1-跨文件的Models在文件头部import进来,然后用ForeignKey关联上:from django.db import modelsfrom geography.models import ZipCodeclass Restaurant(models.Model): ... 阅读全文
posted @ 2014-08-14 16:11 Runbbit 阅读(2480) 评论(0) 推荐(1) 编辑