diff --git a/app/templates/records/record_detail.html b/app/templates/records/record_detail.html index 752db80..48c5b6a 100644 --- a/app/templates/records/record_detail.html +++ b/app/templates/records/record_detail.html @@ -1,11 +1,12 @@ {% extends 'base.html' %} +{%- set pageTitle = page_title -%} {% block content %}
-

{{ page_title }}

+

{{ pageTitle }}

diff --git a/config/settings/develop.py b/config/settings/develop.py index c1ee377..0f70e47 100644 --- a/config/settings/develop.py +++ b/config/settings/develop.py @@ -11,12 +11,15 @@ FORCE_HTTPS = strtobool(os.getenv("FORCE_HTTPS", "False")) -DJANGO_SERVE_STATIC = True +DJANGO_SERVE_STATIC = strtobool(os.getenv("DJANGO_SERVE_STATIC", "True")) if not DEBUG and DJANGO_SERVE_STATIC: - STATICFILES_STORAGE = ( - "django.contrib.staticfiles.storage.StaticFilesStorage" - ) + STORAGES = { + "staticfiles": { + "BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage", + } + } + if DEBUG: