From f008398aaddd6367c9e451ef24364c82ba0d16ee Mon Sep 17 00:00:00 2001 From: Lion Krischer Date: Wed, 6 Jul 2016 13:18:50 +0200 Subject: [PATCH] Make sure docs can be built with django 1.9 --- docs/conf.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 3317684..c253033 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -17,9 +17,12 @@ import os import sys -sys.path.insert(0, os.path.abspath('..')) +# Make sure the docs can be properly built. +import django from django.conf import settings -settings.configure() +sys.path.insert(0, os.path.abspath('..')) +settings.configure(INSTALLED_APPS=["djangoplugins"]) +django.setup() # If extensions (or modules to document with autodoc) are in another directory,