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/"