Skip to content

Commit b11e448

Browse files
committed
fix grammar errors
1 parent 538ca86 commit b11e448

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

en/django_installation/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Before we do that, we should make sure we have the latest version of `pip`, the
169169
170170
### Installing packages with requirements
171171
172-
A requirements file keep a list of dependencies to be installed using
172+
A requirements file keeps a list of dependencies to be installed using
173173
`pip install`:
174174
175175
First create a `requirements.txt` file inside of `djangogirls/` folder:

en/django_urls/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ urlpatterns = [
8787
]
8888
```
8989

90-
As you can see, we're now assigning a `view` called `post_list` to the root URL. This url pattern will match an empty string and the Django URL resolver will ignore the domain name (i.e., http://127.0.0.1:8000/) that prefix the full url path. This pattern will tell Django that `views.post_list` is the right place to go if someone enters your website at the 'http://127.0.0.1:8000/' address.
90+
As you can see, we're now assigning a `view` called `post_list` to the root URL. This URL pattern will match an empty string and the Django URL resolver will ignore the domain name (i.e., http://127.0.0.1:8000/) that prefixes the full url path. This pattern will tell Django that `views.post_list` is the right place to go if someone enters your website at the 'http://127.0.0.1:8000/' address.
9191

9292
The last part, `name='post_list'`, is the name of the URL that will be used to identify the view. This can be the same as the name of the view but it can also be something completely different. We will be using the named URLs later in the project, so it is important to name each URL in the app. We should also try to keep the names of URLs unique and easy to remember.
9393

0 commit comments

Comments
 (0)