aboutsummaryrefslogtreecommitdiffstats
path: root/docs/tutorial/2-requests-and-responses.md
diff options
context:
space:
mode:
authorRichard Wackerbarth2013-01-04 05:46:30 -0600
committerRichard Wackerbarth2013-01-10 15:37:15 -0600
commit674c9029c1b0f3680bfc04dd87b58f9bd21988de (patch)
treef2b21e0a547937bddfe79778d510ab57c47ffe1d /docs/tutorial/2-requests-and-responses.md
parentc4e33d8a75be59fdbc0f5f1b8ff04fdf5a43d35b (diff)
downloaddjango-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/2-requests-and-responses.md')
-rw-r--r--docs/tutorial/2-requests-and-responses.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/tutorial/2-requests-and-responses.md b/docs/tutorial/2-requests-and-responses.md
index 08cf91cd..cdf6c13f 100644
--- a/docs/tutorial/2-requests-and-responses.md
+++ b/docs/tutorial/2-requests-and-responses.md
@@ -117,7 +117,7 @@ Now update the `urls.py` file slightly, to append a set of `format_suffix_patter
urlpatterns = patterns('snippets.views',
url(r'^snippets/$', 'snippet_list'),
- url(r'^snippets/(?P<pk>[0-9]+)$', 'snippet_detail')
+ url(r'^snippets/(?P<pk>[0-9]+)$', 'snippet_detail'),
)
urlpatterns = format_suffix_patterns(urlpatterns)