diff options
Diffstat (limited to 'docs/api-guide')
| -rw-r--r-- | docs/api-guide/format-suffixes.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api-guide/format-suffixes.md b/docs/api-guide/format-suffixes.md index d63efc9c..dae3dea3 100644 --- a/docs/api-guide/format-suffixes.md +++ b/docs/api-guide/format-suffixes.md @@ -29,8 +29,8 @@ Example: urlpatterns = patterns('blog.views', url(r'^/$', 'api_root'), - url(r'^comment/$', 'comment_list'), - url(r'^comment/(?P<pk>[0-9]+)/$', 'comment_detail') + url(r'^comments/$', 'comment_list'), + url(r'^comments/(?P<pk>[0-9]+)/$', 'comment_detail') ) urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'html']) |
