aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlava Bacherikov <slava@bacher09.org>2012-08-28 00:27:35 +0300
committerSlava Bacherikov <slava@bacher09.org>2012-08-28 00:27:35 +0300
commit438881c99fcf807bc72047bd49f863522f130a90 (patch)
tree9729936d0eea231d8aac77f8e62deab2cd298fd1
parentRight notification (diff)
downloadgentoo-packages-438881c99fcf807bc72047bd49f863522f130a90.tar.gz
gentoo-packages-438881c99fcf807bc72047bd49f863522f130a90.tar.bz2
gentoo-packages-438881c99fcf807bc72047bd49f863522f130a90.zip
Execute settings in doc config
-rw-r--r--docs/source/conf.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/conf.py b/docs/source/conf.py
index dc21c25..f656039 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -15,10 +15,10 @@ import sys, os
DIR = os.path.dirname(__file__)
PROJECT_PATH = os.path.abspath(os.path.join(DIR, '../..'))
PROJECT_ROOT = os.path.join(PROJECT_PATH, 'gpackages')
-sys.path.insert(0, os.path.join(PROJECT_ROOT, 'libs'))
-sys.path.insert(0, os.path.join(PROJECT_ROOT, 'apps'))
sys.path.insert(0, os.path.join(PROJECT_ROOT, 'main'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'
+# for execute local_settings
+import settings
# 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