Monday, January 31, 2011

Re: tutorial part 4: ImportError

I accidentally previously sent this post just to Rob - sorry about that Rob!

I know that this is a couple months old, but the documentation does seem to be incorrect.  I am using 1.2.4, and am on the correct tutorial page (http://docs.djangoproject.com/en/1.2/intro/tutorial04/), and the import statement in the section "Use generic views: Less code is better" does indeed state "from django.views.generic import DetailView, ListView", with a description of the DetailView and ListView classes below it.  Just wanted to make sure I wasn't missing something.  Great tutorial so far, though! :)


--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment