From f52f266c691fd8bb80b21ab2a983118b914c04fa Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sun, 24 Nov 2013 17:13:11 +0100 Subject: Clean up and document the Panel API. --- docs/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'docs/conf.py') 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. -- cgit v1.2.3