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/
157157# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158158# and can be added to the global gitignore or merged into this file. For a more nuclear
159159# 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 4040 # add-on
4141 "rest_framework" ,
4242 "django_summernote" ,
43+ "constance" ,
44+ "constance.backends.database" ,
4345 # apps
4446 "sponsor" ,
4547]
130132# django-summernote
131133MEDIA_URL = "/media/"
132134MEDIA_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
1212sorl-thumbnail == 12.9.0
1313django-summernote == 0.8.20.0
1414Pillow == 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