pathagar icon indicating copy to clipboard operation
pathagar copied to clipboard

Use `django.conf.settings` for settings import

Open sethwoodworth opened this issue 10 years ago • 0 comments

The recommended way of accessing django settings is to allow custom settings files. This can be done by importing from django.conf import settings and checking values by settings.DEBUG.

https://docs.djangoproject.com/en/1.8/topics/settings/#using-settings-in-python-code

sethwoodworth avatar Apr 10 '15 17:04 sethwoodworth