On Tuesday, January 4, 2011 3:07:58 PM UTC, Anthony Pearce wrote: > > While completing "Writing your first Django app, part 4", I ran into > an error. I have almost completed the online tutorial, but using the > code verbatum, I get this error. I even went as far as to cut and > paste the code, rather than typing it as I usually do, just in case I > made a simple error I could not see. > > Exception Location: C:\DjangoProjects\mysite\polls\urls.py in > <module>, line 2 > > Copy of line 2 of urls.py..... from django.views.generic import > DetailView, ListView > > Anyone have any ideas?
You're using the docs for the development version, but are probably running the released version 1.2. There's a link at the top of each page to the correct documentation for your version. -- DR. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.