Skip to content

Commit 41cf4c4

Browse files
committed
refactor: remove dict-based overrides, use direct setting variables
1 parent 5155f53 commit 41cf4c4

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

course_discovery/settings/base.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -580,14 +580,7 @@
580580
EMAIL_USE_TLS = False
581581
EXTRA_APPS = []
582582
SESSION_EXPIRE_AT_BROWSER_CLOSE = False
583-
STORAGES = {
584-
"default": {
585-
"BACKEND": "django.core.files.storage.FileSystemStorage",
586-
},
587-
"staticfiles": {
588-
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage",
589-
},
590-
}
583+
STATICFILES_STORAGE = "django.contrib.staticfiles.storage.StaticFilesStorage"
591584
CACHES = {
592585
'default': {
593586
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',

0 commit comments

Comments
 (0)