2022-02-22 16:31:14 +00:00
|
|
|
{% extends 'error/base.html' %}
|
|
|
|
{% load i18n %}
|
2022-02-22 05:26:12 +00:00
|
|
|
|
|
|
|
{% 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="jumbotron">
|
|
|
|
<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 %}
|
2022-02-22 05:26:12 +00:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|