From 908ffe378b6c0e09f7c75d1d97adbfa07273cfe5 Mon Sep 17 00:00:00 2001 From: Kraig Brockschmidt Date: Mon, 8 Oct 2018 14:42:44 -0700 Subject: [PATCH 1/3] Branch variation with ALLOWED_HOSTS set --- web_project/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_project/settings.py b/web_project/settings.py index ffe06de..47ea74d 100644 --- a/web_project/settings.py +++ b/web_project/settings.py @@ -32,9 +32,9 @@ # a specific host, you must also add 'localhost' and/or '127.0.0.1' for local # debugging (which are enabled by default when ALLOWED_HOSTS is empty.) ALLOWED_HOSTS = [ - #'localhost', - #'127.0.0.1' - #'vscode-django-tutorial.azurewebsites.net' # Sample name only! + 'localhost', + '127.0.0.1' + 'vscode-django-tutorial.azurewebsites.net' # Sample name only! ] # Application definition From e91acf9456a87a6d440c440befe29bf6970eec62 Mon Sep 17 00:00:00 2001 From: Kraig Brockschmidt Date: Tue, 16 Oct 2018 14:52:50 -0700 Subject: [PATCH 2/3] Update Django version --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ef52540..c57b511 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,2 +1,2 @@ -Django==2.1.1 +Django>=2.1.2 pytz==2018.5 From 5f694b61e8323ef988b1a8ff4af3c66fc422fbdb Mon Sep 17 00:00:00 2001 From: Kraig Brockschmidt Date: Tue, 16 Oct 2018 15:00:37 -0700 Subject: [PATCH 3/3] Comment out hosts --- web_project/settings.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web_project/settings.py b/web_project/settings.py index 47ea74d..ffe06de 100644 --- a/web_project/settings.py +++ b/web_project/settings.py @@ -32,9 +32,9 @@ # a specific host, you must also add 'localhost' and/or '127.0.0.1' for local # debugging (which are enabled by default when ALLOWED_HOSTS is empty.) ALLOWED_HOSTS = [ - 'localhost', - '127.0.0.1' - 'vscode-django-tutorial.azurewebsites.net' # Sample name only! + #'localhost', + #'127.0.0.1' + #'vscode-django-tutorial.azurewebsites.net' # Sample name only! ] # Application definition