bah staticfiles

This commit is contained in:
2021-02-23 01:01:36 +00:00
parent 1aae2bff28
commit ad66f434de

View File

@@ -230,10 +230,7 @@ DATETIME_INPUT_FORMATS = ('%Y-%m-%dT%H:%M', '%Y-%m-%dT%H:%M:%S')
# Static files (CSS, JavaScript, Images) # Static files (CSS, JavaScript, Images)
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage' STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
STATIC_URL = '/static/' STATIC_URL = '/static/'
STATIC_ROOT = BASE_DIR / 'static/' STATIC_ROOT = BASE_DIR / 'staticfiles'
STATIC_DIRS = [
BASE_DIR / 'static/',
]
STATICFILES_DIRS = [ STATICFILES_DIRS = [
BASE_DIR / 'pipeline/built_assets', BASE_DIR / 'pipeline/built_assets',
] ]