diff options
| author | Richard Wackerbarth | 2013-01-04 05:46:30 -0600 | 
|---|---|---|
| committer | Richard Wackerbarth | 2013-01-10 15:37:15 -0600 | 
| commit | 674c9029c1b0f3680bfc04dd87b58f9bd21988de (patch) | |
| tree | f2b21e0a547937bddfe79778d510ab57c47ffe1d /docs/tutorial/5-relationships-and-hyperlinked-apis.md | |
| parent | c4e33d8a75be59fdbc0f5f1b8ff04fdf5a43d35b (diff) | |
| download | django-rest-framework-674c9029c1b0f3680bfc04dd87b58f9bd21988de.tar.bz2 | |
Imply an additional element in infinite lists
This is to allow the addition of elements without
having to change existing lines of code
Diffstat (limited to 'docs/tutorial/5-relationships-and-hyperlinked-apis.md')
| -rw-r--r-- | docs/tutorial/5-relationships-and-hyperlinked-apis.md | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md index 216ca433..c4c03495 100644 --- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md +++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md @@ -116,7 +116,7 @@ After adding all those names into our URLconf, our final `'urls.py'` file should          url(r'^snippets/(?P<pk>[0-9]+)/$',              views.SnippetDetail.as_view(),              name='snippet-detail'), -        url(r'^snippets/(?P<pk>[0-9]+)/highlight/$' +        url(r'^snippets/(?P<pk>[0-9]+)/highlight/$',              views.SnippetHighlight.as_view(),              name='snippet-highlight'),          url(r'^users/$', @@ -130,7 +130,7 @@ After adding all those names into our URLconf, our final `'urls.py'` file should      # Login and logout views for the browsable API      urlpatterns += patterns('',              url(r'^api-auth/', include('rest_framework.urls', -                                   namespace='rest_framework')) +                                   namespace='rest_framework')),      )  ## Adding pagination | 
