I am trying to get started with Django and having some trouble. I'm
using Django 1.2 to reserve the ability to go to Google's app engine
if I want. I have python 2.7 installed and working on Win7. I
unstalled Django 1.2 using the install script and it copied Django
into the site-packages directory.

I have been working through the tutorial and am just about finished.
However, in the last step, the tutorial uses generic views. When I run
it, I get "cannot import name DetailView". The import command,
straight from the tutorial is "from django.views.generic import
DetailView, ListView".

Early on, I could not execute django-admin.py. I had already installed
PIL and I had read about *.pth files in .../site-packages/*. So I
created a file django.pth. In it I put the single line "django\bin".
After this, django-admin.py could be easily executed.

Do I have to add more lines to django.pth? Is there something else I
missed?

-Bob

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

Reply via email to