How to resolve 'Could not import Settings' 'conf.local' in django Settings Settings
- 2020-04-02 14:22:01
- OfStack
Here's an example
Django best practices and deployment: Nginx + Gunicorn + Supervisor (Ubuntu and CentOS)
(link: http://sfdye.com/articles/django-best-practice-and-deployment-with-nginx-gunicorn-and-supervisor/)
The result is runserver -- Settings =... Could not import Settings 'conf.local' (Is it on sys.path? Is there an import error in the Settings file?) : N
O the module named conf. Local
How to adjust also can't find, very strange
It turned out to be this evil one
Init. Py
You must create this empty file in your own folder before django will scan it as a module...