Django encountered could not import settings’ conf.local ‘when configuring settings


I won’t say the original

Django best practices and deployment: nginx + gunicorn + Supervisor (Ubuntu and CentOS)

As a result, an error appears when runserver — settings =… Appears. Could not import settings’ conf.local ‘(is it on sys. Path? Is there an import error in the settings file?): n
o module named conf.local

It’s strange that I can’t find it after adjustment
Finally, I found that it was this evil again
You must create this empty file in the self built folder before it can be scanned as a module by Django