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

上传:小坏囡 浏览: 34 推荐: 0 文件:PDF 大小:29.45KB 上传时间:2020-12-31 07:19:17 版权申诉
举个例子吧 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?
上传资源
用户评论