diff options
Diffstat (limited to 'docs/conf.py')
| -rw-r--r-- | docs/conf.py | 3 | 
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. | 
