aboutsummaryrefslogtreecommitdiffstats
path: root/docs/conf.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-24 17:13:11 +0100
committerAymeric Augustin2013-11-24 17:15:59 +0100
commitf52f266c691fd8bb80b21ab2a983118b914c04fa (patch)
tree3cafd92796aae91e63abc3958ab1642745b6cfd8 /docs/conf.py
parentc92f710125218755c275ae98581a4305e57fd3fa (diff)
downloaddjango-debug-toolbar-f52f266c691fd8bb80b21ab2a983118b914c04fa.tar.bz2
Clean up and document the Panel API.
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/conf.py b/docs/conf.py
index c2fcade..abde59b 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -15,6 +15,9 @@
import sys
import os
+os.environ['DJANGO_SETTINGS_MODULE'] = 'example.settings'
+sys.path.append(os.path.dirname(os.path.dirname(__file__)))
+
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.