Skip to content

Commit 91ed8fd

Browse files
authored
Split updates to settings.py into distinct items
1 parent 6c7c226 commit 91ed8fd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

en/django_start_project/README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,13 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
139139
> {% filename %}mysite/settings.py{% endfilename %}
140140
> ```python
141141
> SECRET_KEY = os.getenv('SECRET')
142-
> # and a little further, we inject the name of your new Glitch website ...
142+
> ```
143+
> * And a little further, in the same file, we inject the name of your new Glitch website :
144+
> {% filename %}mysite/settings.py{% endfilename %}
145+
> ```python
143146
> ALLOWED_HOSTS = [os.getenv('PROJECT_DOMAIN') + ".glitch.me"]
144147
> ```
148+
> The PROJECT_DOMAIN value is automatically generated by Glitch, it will correspond to the name of your project.
145149
146150
## Set up a database
147151

0 commit comments

Comments
 (0)