From 27aa2d6aad59c479de66e270b897c4fa4fdbac30 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Wed, 27 Feb 2013 22:13:24 +0000 Subject: [PATCH] Use plularized URLs for better consistency. Closes #684. --- docs/api-guide/format-suffixes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'])