diff --git a/docs/api-guide/format-suffixes.md b/docs/api-guide/format-suffixes.md index d63efc9c9..dae3dea37 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[0-9]+)/$', 'comment_detail') + url(r'^comments/$', 'comment_list'), + url(r'^comments/(?P[0-9]+)/$', 'comment_detail') ) urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'html'])