From 2ad3c3bbeb2a2dab1342280870554f23f3ac67e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Padilla?= Date: Fri, 24 Nov 2017 14:38:30 -0500 Subject: [PATCH] Auth urls were already set in tutorial/urls.py --- docs/tutorial/5-relationships-and-hyperlinked-apis.md | 6 ------ 1 file changed, 6 deletions(-) diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md index 9fd61b414..b97e718bf 100644 --- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md +++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md @@ -130,12 +130,6 @@ After adding all those names into our URLconf, our final `snippets/urls.py` file name='user-detail') ]) - # Login and logout views for the browsable API - urlpatterns += [ - url(r'^api-auth/', include('rest_framework.urls', - namespace='rest_framework')), - ] - ## Adding pagination The list views for users and code snippets could end up returning quite a lot of instances, so really we'd like to make sure we paginate the results, and allow the API client to step through each of the individual pages.