From 61eb64ed2424bbff8879311121c9a5dfe21f721d Mon Sep 17 00:00:00 2001 From: Tom Christie Date: Mon, 8 Dec 2014 15:16:45 +0000 Subject: Update documentation --- tutorial/5-relationships-and-hyperlinked-apis/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tutorial/5-relationships-and-hyperlinked-apis') diff --git a/tutorial/5-relationships-and-hyperlinked-apis/index.html b/tutorial/5-relationships-and-hyperlinked-apis/index.html index 80e84004..364de40d 100644 --- a/tutorial/5-relationships-and-hyperlinked-apis/index.html +++ b/tutorial/5-relationships-and-hyperlinked-apis/index.html @@ -421,7 +421,7 @@ class SnippetHighlight(generics.GenericAPIView):
As usual we need to add the new views that we've created in to our URLconf.
 We'll add a url pattern for our new API root in snippets/urls.py:
url(r'^$', 'api_root'),
+url(r'^$', views.api_root),
 
 And then add a url pattern for the snippet highlights:
 url(r'^snippets/(?P<pk>[0-9]+)/highlight/$', views.SnippetHighlight.as_view()),
-- 
cgit v1.2.3