From 4834d45c0c3e6d21e9e1aa1a12715e5c501977b7 Mon Sep 17 00:00:00 2001 From: Sinan Guclu Date: Fri, 11 Nov 2016 11:24:21 +0100 Subject: [PATCH] Possible typo urlpattern referring to views.snippet_detail should be views.snippet_details --- docs/tutorial/1-serialization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorial/1-serialization.md b/docs/tutorial/1-serialization.md index 04fb6914a..28e2e57d7 100644 --- a/docs/tutorial/1-serialization.md +++ b/docs/tutorial/1-serialization.md @@ -291,7 +291,7 @@ Finally we need to wire these views up. Create the `snippets/urls.py` file: urlpatterns = [ url(r'^snippets/$', views.snippet_list), - url(r'^snippets/(?P[0-9]+)/$', views.snippet_detail), + url(r'^snippets/(?P[0-9]+)/$', views.snippet_details), ] We also need to wire up the root urlconf, in the `tutorial/urls.py` file, to include our snippet app's URLs.