{% load i18n %} {% get_current_language as LANGUAGE_CODE %}
{% trans "You would normally have been redirected to the above location automatically, but some log messages are available to read below." %}
{% trans "You're seeing this page because amongst other things you have LOGGING_INTERCEPT_REDIRECTS = True
in your Django settings file. Change that to False
, and Django will redirect you properly, discarding any messages logged in the process." %}