From 3eb98e96e28aaa67f8dc7a5f1e433cc6f50d6789 Mon Sep 17 00:00:00 2001 From: TAKAHASHI Shuuji Date: Mon, 12 Feb 2024 20:28:26 +0900 Subject: [PATCH] Revert "Register Django urls (#8778)" 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.