Skip to content
This repository has been archived by the owner on Nov 30, 2023. It is now read-only.

Commit

Permalink
Updates to django container: app port, allowed hosts setting
Browse files Browse the repository at this point in the history
  • Loading branch information
arjunattam committed Mar 6, 2019
1 parent 45f319f commit 417a0bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions dev-containers/django-container/.vscode/devContainer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "Django",
"dockerFile": "dev-container.dockerfile",
"appPort": 8080,
"extensions": [
"ms-python.python",
"batisteo.vscode-django"
Expand Down
2 changes: 1 addition & 1 deletion dev-containers/django-container/web_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True

ALLOWED_HOSTS = []
ALLOWED_HOSTS = ['0.0.0.0']


# Application definition
Expand Down

0 comments on commit 417a0bd

Please sign in to comment.