We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c631228 commit 06fb883Copy full SHA for 06fb883
doc/conf.py
@@ -19,10 +19,8 @@
19
# documentation root, use os.path.abspath to make it absolute, like shown here.
20
sys.path.insert(0, os.path.abspath('..'))
21
22
-from django.core.management import setup_environ
23
-from djangojs import settings
24
-
25
-setup_environ(settings)
+os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'djangojs.settings')
+from django.conf import settings
26
27
# -- General configuration -----------------------------------------------------
28
0 commit comments