Skip to content

Commit 14cf45c

Browse files
authored
Merge branch 'master' into master
2 parents ff66088 + 59bf826 commit 14cf45c

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
Django==2.1.1
22
pytz==2018.5
3+
Python==3.7

web_project/settings.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,14 @@
2828
DEBUG = True
2929

3030
# When deploying to Azure App Service, add you <name>.azurewebsites.net
31-
# domain to ALLOWED_HOSTS; you get an error message if you forget.
32-
ALLOWED_HOSTS = []
33-
31+
# domain to ALLOWED_HOSTS; you get an error message if you forget. When you add
32+
# a specific host, you must also add 'localhost' and/or '127.0.0.1' for local
33+
# debugging (which are enabled by default when ALLOWED_HOSTS is empty.)
34+
ALLOWED_HOSTS = [
35+
#'localhost',
36+
#'127.0.0.1'
37+
#'vscode-django-tutorial.azurewebsites.net' # Sample name only!
38+
]
3439

3540
# Application definition
3641

0 commit comments

Comments
 (0)