diff options
| author | Tom Christie | 2013-05-02 12:08:05 +0100 | 
|---|---|---|
| committer | Tom Christie | 2013-05-02 12:08:05 +0100 | 
| commit | 74beaefd1205503c06fdff8bb2621ba4c8c5baaa (patch) | |
| tree | e8055a54dcf97b69b48e0f4c13ed15eeca34701b /docs/api-guide/viewsets.md | |
| parent | 387250bee438a3826191b2d0d196d0c11373f7f3 (diff) | |
| download | django-rest-framework-74beaefd1205503c06fdff8bb2621ba4c8c5baaa.tar.bz2 | |
Simplifying bits of docs
Diffstat (limited to 'docs/api-guide/viewsets.md')
| -rw-r--r-- | docs/api-guide/viewsets.md | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/api-guide/viewsets.md b/docs/api-guide/viewsets.md index 8af35bb8..d98f37d8 100644 --- a/docs/api-guide/viewsets.md +++ b/docs/api-guide/viewsets.md @@ -42,7 +42,7 @@ If we need to, we can bind this viewset into two seperate views, like so:  Typically we wouldn't do this, but would instead register the viewset with a router, and allow the urlconf to be automatically generated.      router = DefaultRouter() -    router.register(r'users', UserViewSet, name='user') +    router.register(r'users', UserViewSet)      urlpatterns = router.urls  Rather than writing your own viewsets, you'll often want to use the existing base classes that provide a default set of behavior.  For example: | 
