Browse files

Ensure django is configured for doc imports

  • Loading branch information...
1 parent cc9ede7 commit b29580306ea42583b0834848e6d59b3bd83c3ffa @dcramer dcramer committed May 12, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 docs/conf.py
View
3 docs/conf.py
@@ -13,6 +13,9 @@
import sys, os
+if 'DJANGO_SETTINGS_MODULE' not in os.environ:
+ os.environ['DJANGO_SETTINGS_MODULE'] = 'sentry.conf.server'
+
# 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.

0 comments on commit b295803

Please sign in to comment.