On Mon, Oct 17, 2011 at 7:05 AM, Daniel <dgam...@gmail.com> wrote:
> Hello i am progressing well on the tutorial here:
> https://docs.djangoproject.com/en/1.3/intro/tutorial02/
> however, I am stuck on Make the poll app modifiable in the admin.
>
> I have created an admin.py file within my polls directory. with the
> suggested code. However I keep getting this error ImportError: No
> module named polls.models
>
> any suggestions??

1. Have you followed part #1 of the tutorial where you create the 'polls'
    application (that creates the polls/ subdir) and then edit the
    paceholder models.py file inside it adding the Poll and Choice
    model definitions?
2. Make sure you don't remove the __init__.py file inside that polls/ subdir
3. Are you effectively using Django 1.3?

-- 
Ramiro Morales

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to