File tree Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Expand file tree Collapse file tree 3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -157,5 +157,4 @@ cython_debug/
157
157
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
158
# and can be added to the global gitignore or merged into this file. For a more nuclear
159
159
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- # .idea/
161
-
160
+ .idea /
Original file line number Diff line number Diff line change 40
40
# add-on
41
41
"rest_framework" ,
42
42
"django_summernote" ,
43
+ "constance" ,
44
+ "constance.backends.database" ,
43
45
# apps
44
46
"sponsor" ,
45
47
]
130
132
# django-summernote
131
133
MEDIA_URL = "/media/"
132
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
+ "" ,
141
+ "Slack 알림 전송에 사용할 Secret" ,
142
+ ),
143
+ "SPONSOR_NOTI_CHANNEL" : (
144
+ "" ,
145
+ "후원사 변동사항에 대한 알림을 보낼 채널" ,
146
+ ),
147
+ }
Original file line number Diff line number Diff line change @@ -12,3 +12,5 @@ tzdata==2022.7
12
12
sorl-thumbnail == 12.9.0
13
13
django-summernote == 0.8.20.0
14
14
Pillow == 9.4.0
15
+ django-constance == 2.9.1
16
+ django-picklefield == 3.1
You can’t perform that action at this time.
0 commit comments