File: 0002-Call-django.setup-to-initialize-app-registry.patch

package info (click to toggle)
python-django-otp 0.4.3-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 444 kB
  • sloc: python: 1,458; makefile: 147
file content (21 lines) | stat: -rw-r--r-- 547 bytes parent folder | download
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)}