Commit 27aa2d6a by Tom Christie

Use plularized URLs for better consistency.

Closes #684.
parent a2dafd96
...@@ -29,8 +29,8 @@ Example: ...@@ -29,8 +29,8 @@ Example:
urlpatterns = patterns('blog.views', urlpatterns = patterns('blog.views',
url(r'^/$', 'api_root'), url(r'^/$', 'api_root'),
url(r'^comment/$', 'comment_list'), url(r'^comments/$', 'comment_list'),
url(r'^comment/(?P<pk>[0-9]+)/$', 'comment_detail') url(r'^comments/(?P<pk>[0-9]+)/$', 'comment_detail')
) )
urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'html']) urlpatterns = format_suffix_patterns(urlpatterns, allowed=['json', 'html'])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment