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

Michael Fladischer fladi at moszumanska.debian.org
Tue Jun 20 08:15: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 2aedae2d3ab06b91a90916e7470af9c8e0d2395c
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 07d0adb..652345c 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