From 0a6b115f6dc4e59649dd193d68348f5c47197779 Mon Sep 17 00:00:00 2001 From: James Summerfield Date: Mon, 13 May 2013 08:52:59 +0200 Subject: [PATCH] Section 5 requires URLs in section 4 to be named. --- docs/tutorial/4-authentication-and-permissions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorial/4-authentication-and-permissions.md b/docs/tutorial/4-authentication-and-permissions.md index f6c3efb03..afac72e7c 100644 --- a/docs/tutorial/4-authentication-and-permissions.md +++ b/docs/tutorial/4-authentication-and-permissions.md @@ -78,8 +78,8 @@ We'll also add a couple of views. We'd like to just use read-only views for the Finally we need to add those views into the API, by referencing them from the URL conf. - url(r'^users/$', views.UserList.as_view()), - url(r'^users/(?P[0-9]+)/$', views.UserDetail.as_view()), + url(r'^users/$', views.UserList.as_view(), name='user-list'), + url(r'^users/(?P[0-9]+)/$', views.UserDetail.as_view(), name='user-detail'), ## Associating Snippets with Users