Hi,
Here's my code:

> from django.contrib import admin
> # Register your models here
> from django.contrib import admin
> from polls.models import Question
> admin.site.register(Question)


When I try to hit the admin page now, I get an error, 
"Exception Value: 
cannot import name Question
Exception Location: /home/pi/mysite/polls/admin.py in <module>, line 5"

What am I doing wrong here?

Thanks 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/42d819a1-88f3-4e91-9259-075661f6e2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to