django-admin.py 和django-admin.pyc 的区别是什么?
django-admin.pycstartprojectmysite可以正常执行django-admin.pystartprojectmysite就会报错:Notetha...
django-admin.pyc startproject mysite可以正常执行
django-admin.py startproject mysite就会报错:
Note that only Django core commands are listed as settings are not properly conf
igured (error: Requested setting INSTALLED_APPS, but settings are not configured
. You must either define the environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() before accessing settings.).
是不是和环境变量有关? 展开
django-admin.py startproject mysite就会报错:
Note that only Django core commands are listed as settings are not properly conf
igured (error: Requested setting INSTALLED_APPS, but settings are not configured
. You must either define the environment variable DJANGO_SETTINGS_MODULE or call
settings.configure() before accessing settings.).
是不是和环境变量有关? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询