Skip to content

Commit bd68bb8

Browse files
committed
Update source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt
Error in urls.py
1 parent 461b69b commit bd68bb8

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)