Purgeable / full-app

Keep all functionality for (parsers + db + frontend API) inside one Django project.
0 stars 1 forks source link

Implement django-configurations settings #13 #25

Closed Rub4ek closed 6 years ago

Rub4ek commented 6 years ago

By default Dev configuration is enabled To enable prod use DJANGO_CONFIGURATION environment variable:

export DJANGO_CONFIGURATION=Prod

or supply the --configuration option when using Django management commands

python manage.py runserver --configuration=Prod

For more info: https://django-configurations.readthedocs.io/en/stable/