Stuck on Tutorial-- can't import Question

2014-05-05 Thread Alon Nisser
Try to import Question from the shell. python manage.py shell >>from polls.models import Question I guess you have a typo in the model that raises the import error. If it does import in shell then you have some other issue -- You received this message because you are subscribed to the Google G

Re: Stuck on Tutorial-- can't import Question

2014-05-04 Thread Jorge Andrés Vergara Ebratt
Check the models.py file, you might have a typo in Question On May 4, 2014 7:44 PM, "Tim Fong" wrote: > 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(Questi

Stuck on Tutorial-- can't import Question

2014-05-04 Thread Tim Fong
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 Except