C:\Inetpub\wwwroot\mysite>python manage.py syncdb
Unknown command: ‘syncdb‘
Type ‘manage.py help‘ for usage.
解决方案:
在Django 1.9及未来的版本种使用migrate代替syscdb
D:\Python27\Lib\site-packages\django\bin\T_project>python manage.py migrate
Operations to perform:
时间: 2024-10-27 11:16:08