Open Mixail132 opened 2 weeks ago
my_project/ │ ├── my_project/ │ ├── init.py │ ├── settings.py # Optional: keep this as the base settings │ ├── settings_dev.py # Development settings │ ├── settings_prod.py # Production settings
export DJANGO_SETTINGS_MODULE=my_project.settings_dev python manage.py runserver
Description:
The duplicate settings file is needed to run the Django app in a developing mode and use tge standart DRF web interface when developing.