[Django]-Django to use settings.py at a different location

8👍

I think your setting directory needs an __init__.py file so it is a valid Python package.

1👍

The more elegant way to split the settings for various kind of purpose is to replace the settings.py to settings as module and the original settings.py will be moved under settings, and rename to init.py like this,

   models.py
   settings/
           __init__.py
           test.py

Leave a comment