Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » ImportError cannot import name DetailView [RSS Feed]

#1 Jan. 4, 2011 15:18:06

Anthony P.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

ImportError cannot import name DetailView


That could be it. I downloaded the latest official version, 1.2.4. I
totally overlooked that comment at the top.

On Jan 5, 12:13 am, Daniel Roseman <dan...@roseman.org.uk> wrote:
> 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 athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » ImportError cannot import name DetailView [RSS Feed]

Board footer

Moderator control

Enjoy the 21st of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support