Django
1674 浏览 5 years, 2 months
3 项目准备 Getting Start
版权声明: 转载请注明出处 http://www.codingsoho.com/Startproject
django-admin.py startproject <project_name>
Startapp
python manage.py startapp <app_name>
In django1.5.5
python manage.py syncdb
需执行这个命令,否则user auth里找不到对应的model