compress after collecting static files
This commit is contained in:
parent
1454b26b34
commit
b9fe93ed7a
3 changed files with 7 additions and 2 deletions
|
|
@ -142,7 +142,7 @@ STATIC_ROOT = str(ROOT_DIR("staticfiles"))
|
|||
STATIC_URL = "/static/"
|
||||
# https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#std:setting-STATICFILES_DIRS
|
||||
STATICFILES_DIRS = [str(APPS_DIR.path("static"))]
|
||||
STATICFILES_STORAGE = 'django.contrib.staticfiles.storage.ManifestStaticFilesStorage'
|
||||
STATICFILES_STORAGE = 'schickmacher.storage.WhiteNoiseStaticFilesStorage'
|
||||
|
||||
# https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-finders
|
||||
STATICFILES_FINDERS = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue