diff --git a/docs/conf.py b/docs/conf.py index ab45f2cc8..1d9283d0f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -9,6 +9,9 @@ sys.path.append(os.path.abspath('../tests')) os.environ['DJANGO_SETTINGS_MODULE'] = 'settings' +import django +django.setup() + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here.