We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ff66088 + 59bf826 commit 14cf45cCopy full SHA for 14cf45c
requirements.txt
@@ -1,2 +1,3 @@
1
Django==2.1.1
2
pytz==2018.5
3
+Python==3.7
web_project/settings.py
@@ -28,9 +28,14 @@
28
DEBUG = True
29
30
# 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
-
+# domain to ALLOWED_HOSTS; you get an error message if you forget. When you add
+# 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.)
34
+ALLOWED_HOSTS = [
35
+ #'localhost',
36
+ #'127.0.0.1'
37
+ #'vscode-django-tutorial.azurewebsites.net' # Sample name only!
38
+]
39
40
# Application definition
41
0 commit comments