diff options
| author | Olivier Aubert | 2012-11-27 15:19:49 +0100 | 
|---|---|---|
| committer | Olivier Aubert | 2012-11-27 15:19:49 +0100 | 
| commit | af8beb90c256586d9016d9e6411ecd9ac01f4f22 (patch) | |
| tree | b5fd4ef51f6baf6354844ed2a04ab73e4e57f09a /docs/tutorial/2-requests-and-responses.md | |
| parent | fd89bca35f065cd3917fffc79b59927460a88a3a (diff) | |
| download | django-rest-framework-af8beb90c256586d9016d9e6411ecd9ac01f4f22.tar.bz2 | |
Tutorial: fix module name in section 2
snippet -> snippets (to match section 1).
Diffstat (limited to 'docs/tutorial/2-requests-and-responses.md')
| -rw-r--r-- | docs/tutorial/2-requests-and-responses.md | 2 | 
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 b29daf05..789c2ee7 100644 --- a/docs/tutorial/2-requests-and-responses.md +++ b/docs/tutorial/2-requests-and-responses.md @@ -113,7 +113,7 @@ Now update the `urls.py` file slightly, to append a set of `format_suffix_patter      from django.conf.urls import patterns, url      from rest_framework.urlpatterns import format_suffix_patterns -    urlpatterns = patterns('snippet.views', +    urlpatterns = patterns('snippets.views',          url(r'^snippets/$', 'snippet_list'),          url(r'^snippets/(?P<pk>[0-9]+)$', 'snippet_detail')      ) | 
