会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Runbbit
Hello World, Keep Running
博客园
首页
新随笔
联系
管理
2014年8月14日
django学习之Model(二)
摘要: 继续(一)的内容: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)
编辑
公告