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 6c7c226 commit 91ed8fdCopy full SHA for 91ed8fd
en/django_start_project/README.md
@@ -139,9 +139,13 @@ ALLOWED_HOSTS = ['127.0.0.1', '.pythonanywhere.com']
139
> {% filename %}mysite/settings.py{% endfilename %}
140
> ```python
141
> SECRET_KEY = os.getenv('SECRET')
142
-> # and a little further, we inject the name of your new Glitch website ...
+> ```
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
146
> ALLOWED_HOSTS = [os.getenv('PROJECT_DOMAIN') + ".glitch.me"]
147
> ```
148
+> The PROJECT_DOMAIN value is automatically generated by Glitch, it will correspond to the name of your project.
149
150
## Set up a database
151
0 commit comments