Navigation Menu

Skip to content

Commit

Permalink
Fix bug in a readme example. Closes issue #1.
Browse files Browse the repository at this point in the history
  • Loading branch information
af committed Jan 21, 2012
1 parent d69eb0b commit d951300
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.rst
Expand Up @@ -39,7 +39,7 @@ In myapp/urls.py::


# Create url patterns for both "collections" and single items: # Create url patterns for both "collections" and single items:
urlpatterns = patterns('', urlpatterns = patterns('',
url(r'^widgets', WidgetView.as_view()), url(r'^widgets$', WidgetView.as_view()),
url(r'^widgets/(?P<id>\d+)', WidgetView.as_view()), url(r'^widgets/(?P<id>\d+)', WidgetView.as_view()),
) )


Expand Down

0 comments on commit d951300

Please sign in to comment.