Skip to content

Commit

Permalink
Make sure docs can be built with django 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
krischer committed Jul 6, 2016
1 parent 663c719 commit f008398
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit f008398

Please sign in to comment.