We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699374c commit eb08c61Copy full SHA for eb08c61
pyconkr/settings.py
@@ -41,6 +41,7 @@
41
"rest_framework",
42
"django_summernote",
43
"constance",
44
+ "constance.backends.database",
45
# apps
46
"sponsor",
47
]
@@ -132,6 +133,8 @@
132
133
MEDIA_URL = "/media/"
134
MEDIA_ROOT = os.path.join(BASE_DIR, "media/")
135
136
+# django-constance
137
+CONSTANCE_BACKEND = 'constance.backends.database.DatabaseBackend'
138
CONSTANCE_CONFIG = {
139
"SLACK_SECRET": (
140
"",
requirements.txt
@@ -13,3 +13,4 @@ sorl-thumbnail==12.9.0
13
django-summernote==0.8.20.0
14
Pillow==9.4.0
15
django-constance==2.9.1
16
+django-picklefield==3.1
0 commit comments