diff --git a/docs/source/conf.py b/docs/source/conf.py index c98252e..c83761d 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -10,7 +10,8 @@ # 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. # -import os +#import os +from django.conf import settings # import sys # sys.path.insert(0, os.path.abspath('.')) @@ -26,7 +27,11 @@ # -- General configuration --------------------------------------------------- -os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'docs.settings') +settings.configure(ENCRYPTION_KEY = 'XmeExmMq5tx1u9fbgLTKr26toW58OeC2sNvy1BEazSDBobWj0areehwvRUif',DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.sqlite3', + } +}) # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones.