From 566dfb894a7a351574991242ff9fc78ee8fed451 Mon Sep 17 00:00:00 2001 From: Martin Quarda Date: Tue, 6 Feb 2024 08:42:05 +0100 Subject: [PATCH] csrf --- alkator/settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alkator/settings.py b/alkator/settings.py index 0a0d164..6893d99 100644 --- a/alkator/settings.py +++ b/alkator/settings.py @@ -27,6 +27,8 @@ DEBUG = True ALLOWED_HOSTS = ['https://alkator.cz', 'localhost'] +CSRF_TRUSTED_ORIGINS = ['https://alkator.cz'] + # Application definition INSTALLED_APPS = [