From 150c405468c9c47ab468a5fb426f98755541ecd2 Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Tue, 11 Jul 2023 17:51:01 +0200 Subject: [PATCH] Fix settings --- spejstore/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spejstore/settings.py b/spejstore/settings.py index 27227a6..9a156ec 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -34,7 +34,7 @@ DEBUG = not PROD ALLOWED_HOSTS = env( "ALLOWED_HOSTS", "devinventory,inventory.waw.hackerspace.pl,i,inventory" - + (",127.0.0.1" if PROD != True else ""), + + (",127.0.0.1" if not PROD else ""), ).split(",") LOGIN_REDIRECT_URL = "/admin/"