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.
1 parent 5f4e4d8 commit ca141a4Copy full SHA for ca141a4
web_project/settings.py
@@ -28,10 +28,13 @@
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.
+# 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 = [
- 'localhost',
- 'vscode-django-tutorial.azurewebsites.net' # Sample name only!
35
+ #'localhost',
36
+ #'127.0.0.1'
37
+ #'vscode-django-tutorial.azurewebsites.net' # Sample name only!
38
]
39
40
# Application definition
0 commit comments