Skip to content

Commit 17f2aff

Browse files
author
Mario Colombo
committed
fix collectstatic best practises
1 parent fce402a commit 17f2aff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
# https://docs.djangoproject.com/en/3.1/howto/static-files/
187187

188188
STATIC_URL = '/static/'
189-
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
189+
STATIC_ROOT = os.path.join(BASE_DIR, 'staticfiles_collected')
190190
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
191191

192192
# Media files

0 commit comments

Comments
 (0)