Use plularized URLs for better consistency.

Closes #684.
This commit is contained in:
Tom Christie 2013-02-27 22:13:24 +00:00
parent a2dafd9643
commit 27aa2d6aad

View File

@ -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'])