From 538601a6f1f488a432fc4a547ccbf49409b47a0b Mon Sep 17 00:00:00 2001 From: Abhin Chhabra Date: Sun, 3 Jun 2012 18:40:53 -0600 Subject: [PATCH] I found a problem in the tutorial that lead to the comments form not showing the input fields. Apparently the urls.py file wasn't using the correct view. --- ...write-a-tumblelog-application-with-django-mongodb-engine.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt index ee800ba77a8..da115fc6a77 100644 --- a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt +++ b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt @@ -247,7 +247,7 @@ to add the views: context_object_name="posts_list"), name="home" ), - url(r'^post/(?P[a-zA-Z0-9-]+)/$', DetailView.as_view( + url(r'^post/(?P[a-zA-Z0-9-]+)/$', PostDetailView.as_view( queryset=Post.objects.all(), context_object_name="post"), name="post"