mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-09-24 21:09:12 +03:00
bb15e5a02e
This takes advantage of the ability to easily customize the 403 template for CSRF, introduced in Django 1.10.
10 lines
215 B
HTML
10 lines
215 B
HTML
{% raw %}{% extends "base.html" %}
|
|
|
|
{% block title %}Forbidden (403){% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>Forbidden (403)</h1>
|
|
|
|
<p>CSRF verification failed. Request aborted.</p>
|
|
{% endblock content %}{% endraw %}
|