Fixes #1097. Add alert for potential edit of settings.py for ALLOWED_HOSTS for Windows 10 (#2886)

This commit is contained in:
Cory Locklear 2017-04-20 12:07:58 -05:00 committed by Jim Galasyn
parent 0bc81ae200
commit fb33155fc7
1 changed files with 11 additions and 0 deletions

View File

@ -175,6 +175,17 @@ In this section, you set up the database connection for Django.
![Django example](images/django-it-worked.png)
> **Note:**
> On certain platforms (Windows 10), you may additionally need to edit `ALLOWED_HOSTS`
> inside settings.py and add your Docker hostname or IP to the list. For demo
> purposes, you may set the value to:
>
> ALLOWED_HOSTS = ['*']
>
> Please note this value is **not** safe for production usage. Refer to the
> [Django documentation](https://docs.djangoproject.com/en/1.11/ref/settings/#allowed-hosts)
> for more information.
## More Compose documentation
- [User guide](index.md)