From 9ce541e90990307e06da1b7f5a2576406366a5e5 Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 6 Sep 2021 12:19:20 +0100 Subject: [PATCH] Revert "Fix arguments (#7995)" (#8156) This reverts commit 9716b1b6b7779543c134856e59f1c1393963e46f. --- docs/tutorial/quickstart.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/quickstart.md b/docs/tutorial/quickstart.md index e19577f61..ee839790f 100644 --- a/docs/tutorial/quickstart.md +++ b/docs/tutorial/quickstart.md @@ -126,7 +126,7 @@ Okay, now let's wire up the API URLs. On to `tutorial/urls.py`... # Additionally, we include login URLs for the browsable API. urlpatterns = [ path('', include(router.urls)), - path('api-auth/', include('rest_framework.urls', name='rest_framework')) + path('api-auth/', include('rest_framework.urls', namespace='rest_framework')) ] 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.