From ae979a2a899fa1132a7794b39ccbf3174c99720b Mon Sep 17 00:00:00 2001 From: Adil Mohak Date: Sat, 31 Aug 2024 16:00:20 +0300 Subject: [PATCH] Add pythonanywhere in allowed hosts --- config/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/settings.py b/config/settings.py index 6d06412..ab4c493 100644 --- a/config/settings.py +++ b/config/settings.py @@ -27,7 +27,7 @@ SECRET_KEY = config( # SECURITY WARNING: don't run with debug turned on in production! 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 AUTH_USER_MODEL = "accounts.User"