1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: Michael Fladischer <FladischerMichael@fladi.at>
Date: Wed, 1 Mar 2017 08:38:17 +0100
Subject: Call `django.setup()` to initialize app registry.
---
docs/source/conf.py | 2 ++
1 file changed, 2 insertions(+)
diff --git a/docs/source/conf.py b/docs/source/conf.py
index 072920d..0ae7c59 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -61,6 +61,8 @@ django.conf.settings.configure(
django.setup()
+django.setup()
+
def check_object_path(key, url, path):
if os.path.isfile(path):
return {key: (url, path)}
|