mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-30 18:09:59 +03:00
Another small typo in the ViewSet quick start.
This commit is contained in:
parent
646b3b266d
commit
ffa3c5aace
|
@ -62,8 +62,8 @@ Okay, now let's wire up the API URLs. On to `quickstart/urls.py`...
|
|||
from quickstart import views
|
||||
|
||||
router = routers.DefaultRouter()
|
||||
router.register(r'users', views.UserViewSet)
|
||||
router.register(r'groups', views.GroupViewSet)
|
||||
router.register(r'users', UserViewSet)
|
||||
router.register(r'groups', GroupViewSet)
|
||||
|
||||
# Wire up our API using automatic URL routing.
|
||||
# Additionally, we include login URLs for the browseable API.
|
||||
|
|
Loading…
Reference in New Issue
Block a user