Skip to content

Commit 8bcab51

Browse files
authored
Merge pull request DjangoGirls#1437 from chernando/master
Fix typo: `post_detail` urlpath
2 parents abe0c40 + f7ac3b2 commit 8bcab51

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

en/extend_your_application/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Let's create a URL in `urls.py` for our `post_detail` *view*!
5353

5454
We want our first post's detail to be displayed at this **URL**: http://127.0.0.1:8000/post/1/
5555

56-
Let's make a URL in the `blog/urls.py` file to point Django to a *view* named `post_detail`, that will show an entire blog post. Open the `blog/urls.py` file in the code editor, and add the line `path('post/<int:pk>)/', views.post_detail, name='post_detail'),` so that the file looks like this:
56+
Let's make a URL in the `blog/urls.py` file to point Django to a *view* named `post_detail`, that will show an entire blog post. Open the `blog/urls.py` file in the code editor, and add the line `path('post/<int:pk>/', views.post_detail, name='post_detail'),` so that the file looks like this:
5757

5858
{% filename %}{{ warning_icon }} blog/urls.py{% endfilename %}
5959
```python

0 commit comments

Comments
 (0)