django_4 #363
@ -42,6 +42,10 @@ ALLOWED_HOSTS = [
|
|||||||
"localhost",
|
"localhost",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
CSRF_TRUSTED_ORIGINS = [
|
||||||
|
"http://localhost", # not only host but schema (http/s) as well!
|
||||||
|
]
|
||||||
|
|
||||||
# Authentication settings
|
# Authentication settings
|
||||||
LOGIN_URL = "/login/"
|
LOGIN_URL = "/login/"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user