Add pythonanywhere in allowed hosts
This commit is contained in:
parent
589f5fa7f5
commit
ae979a2a89
@ -27,7 +27,7 @@ SECRET_KEY = config(
|
|||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = config("DEBUG", default=True, cast=bool)
|
DEBUG = config("DEBUG", default=True, cast=bool)
|
||||||
|
|
||||||
ALLOWED_HOSTS = ["127.0.0.1", "your-domain.com"]
|
ALLOWED_HOSTS = ["127.0.0.1", "adilmohak1.pythonanywhere.com"]
|
||||||
|
|
||||||
# change the default user models to our custom model
|
# change the default user models to our custom model
|
||||||
AUTH_USER_MODEL = "accounts.User"
|
AUTH_USER_MODEL = "accounts.User"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user