Using referrer in 403

This commit is contained in:
reverend 2020-08-12 18:56:09 +02:00
parent 0074c73562
commit 10d96c7c8f

View File

@ -1,2 +1,9 @@
{% extends 'global.html'%} {% extends 'global.html'%}
{% block title %}Forbidden{% endblock %} {% block title %}Forbidden{% endblock %}
{% block maincontent %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
{% endif %}
{% endblock maincontent %}