Permalink
Browse files

Fix bug in a readme example. Closes issue #1.

  • Loading branch information...
1 parent d69eb0b commit d951300689bef03937439f8ecf7f30635f9bf271 @af committed Jan 21, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.rst
View
2 README.rst
@@ -39,7 +39,7 @@ In myapp/urls.py::
# Create url patterns for both "collections" and single items:
urlpatterns = patterns('',
- url(r'^widgets', WidgetView.as_view()),
+ url(r'^widgets$', WidgetView.as_view()),
url(r'^widgets/(?P<id>\d+)', WidgetView.as_view()),
)

0 comments on commit d951300

Please sign in to comment.