From e819a9b99b41ccba94bedcf0f3452034ea42b437 Mon Sep 17 00:00:00 2001 From: James Summerfield Date: Mon, 13 May 2013 08:56:27 +0200 Subject: [PATCH] Adding URL name for consistency --- docs/tutorial/5-relationships-and-hyperlinked-apis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/5-relationships-and-hyperlinked-apis.md b/docs/tutorial/5-relationships-and-hyperlinked-apis.md index cb2e092c3..6cffb7796 100644 --- a/docs/tutorial/5-relationships-and-hyperlinked-apis.md +++ b/docs/tutorial/5-relationships-and-hyperlinked-apis.md @@ -49,7 +49,7 @@ We'll add a url pattern for our new API root: And then add a url pattern for the snippet highlights: - url(r'^snippets/(?P[0-9]+)/highlight/$', views.SnippetHighlight.as_view()), + url(r'^snippets/(?P[0-9]+)/highlight/$', views.SnippetHighlight.as_view(), name='snippet-highlight'), ## Hyperlinking our API