mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-12 09:02:19 +03:00
Use exception var in 403.html if available
This commit is contained in:
parent
86a388b7a4
commit
3a1e94f41c
|
@ -5,5 +5,5 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>Forbidden (403)</h1>
|
<h1>Forbidden (403)</h1>
|
||||||
|
|
||||||
<p>CSRF verification failed. Request aborted.</p>
|
<p>{% if exception %}{{ exception }}{% else %}CSRF verification failed. Request aborted.{% endif %}</p>
|
||||||
{% endblock content %}{% endraw %}
|
{% endblock content %}{% endraw %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user