Skip to content

Commit 3b80c88

Browse files
Update django-models text
This is a list using square brackets in my settings.py file
1 parent 6d02732 commit 3b80c88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

en/django_models/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,19 +93,19 @@ djangogirls
9393
└── wsgi.py
9494
```
9595

96-
After creating an application, we also need to tell Django that it should use it. We do that in the file `mysite/settings.py`. We need to find `INSTALLED_APPS` and add a line containing `'blog',` just above `)`. So the final product should look like this:
96+
After creating an application, we also need to tell Django that it should use it. We do that in the file `mysite/settings.py`. We need to find `INSTALLED_APPS` and add a line containing `'blog',` just above `]`. So the final product should look like this:
9797

9898
{% filename %}mysite/settings.py{% endfilename %}
9999
```python
100-
INSTALLED_APPS = (
100+
INSTALLED_APPS = [
101101
'django.contrib.admin',
102102
'django.contrib.auth',
103103
'django.contrib.contenttypes',
104104
'django.contrib.sessions',
105105
'django.contrib.messages',
106106
'django.contrib.staticfiles',
107107
'blog',
108-
)
108+
]
109109
```
110110

111111
### Creating a blog post model

0 commit comments

Comments
 (0)