mybuddy/babybuddy/templates/error/403_csrf_bad_origin.html

19 lines
715 B
HTML
Raw Permalink Normal View History

2022-02-22 16:31:14 +00:00
{% extends 'error/base.html' %}
{% load i18n %}
{% block title %}403 {{ title }}{% endblock %}
{% block breadcrumb_nav %}{% endblock %}
2022-02-22 16:31:14 +00:00
{% block content %}
<h1>403: {{ title }}</h1>
<div class="alert alert-danger" role="alert">{{ main }} {{ reason }}</div>
<div class="px-2 py-5 bg rounded-3">
<div class="container-fluid">
<h2>{% trans "How to Fix" %}</h2>
{% blocktrans trimmed with origin=origin %}
Add <samp>{{ origin }}</samp> to the <code>CSRF_TRUSTED_ORIGINS</code>
environment variable. If multiple origins are required separate
with commas.
{% endblocktrans %}
</div>
</div>
{% endblock %}