Skip to content

Commit 09a0c55

Browse files
authored
Revert "Register Django urls (#8778)" (#9254)
This reverts commit 3bf6117.
1 parent 730d216 commit 09a0c55

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/tutorial/quickstart.md

-2
Original file line numberDiff line numberDiff line change
@@ -132,8 +132,6 @@ Okay, now let's wire up the API URLs. On to `tutorial/urls.py`...
132132
path('', include(router.urls)),
133133
path('api-auth/', include('rest_framework.urls', namespace='rest_framework'))
134134
]
135-
136-
urlpatterns += router.urls
137135

138136
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.
139137

0 commit comments

Comments
 (0)