1. 首页
  2. 数据库
  3. 其它
  4. 如何解决django配置settings时遇到Could not import settings ‘conf.local’

如何解决django配置settings时遇到Could not import settings ‘conf.local’

上传者: 2020-12-31 07:19:17上传 PDF文件 29.45KB 热度 35次
举个例子吧 Django最佳实践与部署:Nginx + Gunicorn + Supervisor(Ubuntu和CentOS) http://sfdye.com/articles/django-best-practice-and-deployment-with-nginx-gunicorn-and-supervisor/ 结果出现runserver –settings=...的时候出现报错Could not import settings ‘conf.local’ (Is it on sys.path? Is there an import error in the settings file?
用户评论