Skip to content

Commit

Permalink
Revert "Register Django urls (#8778)" (#9254)
Browse files Browse the repository at this point in the history
This reverts commit 3bf6117.
  • Loading branch information
shuuji3 authored Mar 10, 2024
1 parent 730d216 commit 09a0c55
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions docs/tutorial/quickstart.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,8 +132,6 @@ Okay, now let's wire up the API URLs. On to `tutorial/urls.py`...
path('', include(router.urls)),
path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
]

urlpatterns += router.urls

Because we're using viewsets instead of views, we can automatically generate the URL conf for our API, by simply registering the viewsets with a router class.

Expand Down

0 comments on commit 09a0c55

Please sign in to comment.