Commit a8980892 by Tom Christie

Fix broken url naming in examples

parent 3531b0b3
......@@ -2,6 +2,6 @@ from django.conf.urls.defaults import patterns, url
from resourceexample.views import ExampleView, AnotherExampleView
urlpatterns = patterns('',
url(r'^$', ExampleView.as_view(), name='example'),
url(r'^$', ExampleView.as_view(), name='example-resource'),
url(r'^(?P<num>[0-9]+)/$', AnotherExampleView.as_view(), name='another-example'),
)
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