Commits

German Larrain committed 59f7e2d

docs.source.conf: added a workaround for a Django settings issue.

  • Participants
  • Parent commits 17dd809

Comments (0)

Files changed (1)

docs/source/conf.py

 
 DOCS_DIR = os.path.abspath(os.path.dirname(__file__))
 sys.path.insert(0, os.path.join(DOCS_DIR, os.pardir, os.pardir))
+sys.path.insert(1, DOCS_DIR)  # to use 'utils.py'
+
+from .utils import fix_django_settings
+fix_django_settings()
+
 
 # -- General configuration -----------------------------------------------------