Disable asset cache on ci, try to get assets working on heroku

Whyyy do things just randomly fall over
This commit is contained in:
2021-02-23 01:11:33 +00:00
parent ad66f434de
commit 25c9cf25f7
3 changed files with 5 additions and 13 deletions

View File

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

View File

@@ -34,7 +34,7 @@ if settings.DEBUG:
urlpatterns += staticfiles_urlpatterns()
import debug_toolbar
urlpatterns = [
urlpatterns += [
path('__debug__/', include(debug_toolbar.urls)),
path('bootstrap/', TemplateView.as_view(template_name="bootstrap.html")),
] + urlpatterns
]