diff --git a/docs/conf.py b/docs/conf.py index eebdb72..e7d37ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -13,10 +13,13 @@ import sys, os + # 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. -#sys.path.insert(0, os.path.abspath('.')) +sys.path.insert(0, os.path.abspath('..')) +os.environ['DJANGO_SETTINGS_MODULE'] = 'test_proj.settings' +from django.conf import settings # -- General configuration ----------------------------------------------------- diff --git a/test_proj/requirements.txt b/test_proj/requirements.txt new file mode 100644 index 0000000..d3e4ba5 --- /dev/null +++ b/test_proj/requirements.txt @@ -0,0 +1 @@ +django