更新时间:2022-05-24 09:08:09
除了初始项目创建之外,不要运行 django-admin.py
。对于之后的所有内容,请使用 manage.py
,该文件负责查找设置。
Don't run django-admin.py
for anything other than the initial project creation. For everything after that, use manage.py
, which takes care of the finding the settings.