oprava_chybovych_hlasek #39

Merged
zelvuska merged 5 commits from oprava_chybovych_hlasek into master 2023-10-09 22:19:33 +02:00
Showing only changes of commit 0e24c1d9ad - Show all commits

View file

@ -5,6 +5,7 @@ from django.shortcuts import render
def csrf_error(request, reason):
""" Jednoduchý „template_view“ (třída to být nesmůže) pro CSRF chyby """
return render(
request, 'various/403_csrf.html',
{"url": request.META["HTTP_REFERER"], "reason": reason},