Skip to content

Commit 048884d

Browse files
authored
Fix for ALLOWED_HOSTS
1 parent 6cfa4dc commit 048884d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

en/django_start_project/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ match our hostname on PythonAnywhere once we deploy our application so we will c
9595

9696
{% filename %}mysite/settings.py{% endfilename %}
9797
```python
98-
ALLOWED_HOSTS = ["*"]
98+
ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
9999
```
100100

101101
> **Note**: If you're using a Chromebook, add this line at the bottom of your settings.py file:

0 commit comments

Comments
 (0)