403 Autoredirect

This commit is contained in:
reverend 2020-08-12 19:04:42 +02:00
parent b6b17f4caf
commit 9f3ed46b35
2 changed files with 11 additions and 1 deletions

View File

@ -9,6 +9,9 @@
<title>
{% block title %}Urban Exploration{% endblock %}
</title>
{% block additional_head %}
{% endblock additional_head %}
</head>
<body>

View File

@ -1,6 +1,13 @@
{% extends 'global.html'%}
{% block title %}Forbidden{% endblock %}
{% block additional_head %}
{% if request.META.HTTP_REFERER %}
<p class="LP-Headline"><a href="{{ request.META.HTTP_REFERER }}" class="LP-Link">Go Back</a></p>
<meta http-equiv="refresh" content="5;url={{ request.META.HTTP_REFERER }}" />
{% endif %}
{% endblock additional_head %}
{% block maincontent %}
{% if request.META.HTTP_REFERER %}