mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-26 03:23:59 +03:00
minor typo
This commit is contained in:
parent
57c41b949d
commit
458af921f3
|
@ -9,7 +9,7 @@ Actions are only bound to methods at the point of instantiating the views.
|
|||
user_detail = UserViewSet.as_view({'get': 'retrieve'})
|
||||
|
||||
Typically, rather than instantiate views from viewsets directly, you'll
|
||||
regsiter the viewset with a router and let the URL conf be determined
|
||||
register the viewset with a router and let the URL conf be determined
|
||||
automatically.
|
||||
|
||||
router = DefaultRouter()
|
||||
|
|
Loading…
Reference in New Issue
Block a user