add custom 403_csrf.html file

This commit is contained in:
Imran Rahman 2023-07-17 22:36:59 +06:00
parent 69505fb7d6
commit 2df5615c9a

View File

@ -0,0 +1,14 @@
{% raw %}{% extends "base.html" %}
{% block title %}Forbidden (403){% endblock title %}
{% block content %}
<h1>Forbidden (403)</h1>
<p>
{% if exception %}
{{ exception }}
{% else %}
You're not allowed to access this page.
{% endif %}
</p>
{% endblock content %}
{%- endraw %}