[Python-modules-commits] [python-django-otp] 07/13: Call `django.setup()` to initialize app registry.

Michael Fladischer fladi at moszumanska.debian.org
Wed Mar 1 08:40:44 UTC 2017


This is an automated email from the git hooks/post-receive script.

fladi pushed a commit to branch master
in repository python-django-otp.

commit 96db3cb616fb99ec017249166a19f0cbd2f0ce02
Author: Michael Fladischer <FladischerMichael at fladi.at>
Date:   Wed Mar 1 08:38:17 2017 +0100

    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 ec9e146..e394cb9 100644
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -47,6 +47,8 @@ django.conf.settings.configure(
     }
 )
 
+django.setup()
+
 def check_object_path(key, url, path):
     if os.path.isfile(path):
         return {key: (url, path)}

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-otp.git



More information about the Python-modules-commits mailing list