Skip to content

Commit 8955c4e

Browse files
author
Sam Kleinman
committed
merge: django non-rel modifcation
2 parents 9d6f93f + bd68bb8 commit 8955c4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ to add the views:
247247
context_object_name="posts_list"),
248248
name="home"
249249
),
250-
url(r'^post/(?P<slug>[a-zA-Z0-9-]+)/$', PostDetailView.as_view(
250+
url(r'^post/(?P<slug>[a-zA-Z0-9-]+)/$', DetailView.as_view(
251251
queryset=Post.objects.all(),
252252
context_object_name="post"),
253253
name="post"

0 commit comments

Comments
 (0)