Skip to content

Commit 9716b1b

Browse files
authored
Fix arguments (encode#7995)
`path()` has no argument `namespace`, it has `name` argument
1 parent 655e803 commit 9716b1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorial/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ Okay, now let's wire up the API URLs. On to `tutorial/urls.py`...
126126
# Additionally, we include login URLs for the browsable API.
127127
urlpatterns = [
128128
path('', include(router.urls)),
129-
path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
129+
path('api-auth/', include('rest_framework.urls', name='rest_framework'))
130130
]
131131

132132
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.

0 commit comments

Comments
 (0)