From 09a0c551ca934e486d2765e042a287c15fa85e75 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Sun, 10 Mar 2024 20:50:53 +0900 Subject: [PATCH] Revert "Register Django urls (#8778)" (#9254) This reverts commit 3bf611787a6ca8fedcf69dde3776a308da1c7f30. --- docs/tutorial/quickstart.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index 9a9da4043..7b46a44e6 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -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.