Skip to content

Commit 2b6726e

Browse files
committed
Merge pull request #2842 from frnc/patch-1
Update 5-relationships-and-hyperlinked-apis.md
2 parents 9809f4d + 601cbf1 commit 2b6726e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/5-relationships-and-hyperlinked-apis.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Right now we have endpoints for 'snippets' and 'users', but we don't have a sing
1818
'snippets': reverse('snippet-list', request=request, format=format)
1919
})
2020

21-
Notice that we're using REST framework's `reverse` function in order to return fully-qualified URLs.
21+
Two things should be noticed here. First, we're using REST framework's `reverse` function in order to return fully-qualified URLs; second, URL patterns are identified by convenience names that we will declare later on in our `snippets/urls.py`.
2222

2323
## Creating an endpoint for the highlighted snippets
2424

0 commit comments

Comments
 (0)