aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom Christie2013-02-27 22:13:24 +0000
committerTom Christie2013-02-27 22:13:34 +0000
commit27aa2d6aad59c479de66e270b897c4fa4fdbac30 (patch)
treee1f6e601ef933393a9176dace2c0e81d46ecc3c2
parenta2dafd96439afc958b0e3dafdf543ca9843fd0d2 (diff)
downloaddjango-rest-framework-27aa2d6aad59c479de66e270b897c4fa4fdbac30.tar.bz2
Use plularized URLs for better consistency.
Closes #684.
-rw-r--r--docs/api-guide/format-suffixes.md4
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'])