forked from wiktor/spejstore-new
Fix settings
This commit is contained in:
parent
efcd932481
commit
150c405468
|
@ -34,7 +34,7 @@ DEBUG = not PROD
|
||||||
ALLOWED_HOSTS = env(
|
ALLOWED_HOSTS = env(
|
||||||
"ALLOWED_HOSTS",
|
"ALLOWED_HOSTS",
|
||||||
"devinventory,inventory.waw.hackerspace.pl,i,inventory"
|
"devinventory,inventory.waw.hackerspace.pl,i,inventory"
|
||||||
+ (",127.0.0.1" if PROD != True else ""),
|
+ (",127.0.0.1" if not PROD else ""),
|
||||||
).split(",")
|
).split(",")
|
||||||
LOGIN_REDIRECT_URL = "/admin/"
|
LOGIN_REDIRECT_URL = "/admin/"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue