diff --git a/babybuddy/settings/base.py b/babybuddy/settings/base.py index 0cd4a71b..82ac060f 100644 --- a/babybuddy/settings/base.py +++ b/babybuddy/settings/base.py @@ -77,7 +77,7 @@ ROOT_URLCONF = "babybuddy.urls" TEMPLATES = [ { "BACKEND": "django.template.backends.django.DjangoTemplates", - "DIRS": [], + "DIRS": ["babybuddy/templates/error"], "APP_DIRS": True, "OPTIONS": { "context_processors": [ diff --git a/babybuddy/templates/error/403.html b/babybuddy/templates/error/403.html index a6004db6..a2ed8121 100644 --- a/babybuddy/templates/error/403.html +++ b/babybuddy/templates/error/403.html @@ -1,13 +1,10 @@ -{% extends 'babybuddy/page.html' %} -{% load i18n widget_tweaks %} +{% extends 'error/base.html' %} +{% load i18n %} {% block title %}403 {% trans "Permission Denied" %}{% endblock %} -{% block breadcrumbs %} -
CSRF_TRUSTED_ORIGINS
- environment variable. If multiple origins are required separate
- with commas.
- {% endblocktrans %}
- CSRF_TRUSTED_ORIGINS
+ environment variable. If multiple origins are required separate
+ with commas.
+ {% endblocktrans %}