Re: Tutorial help: Make the poll app modifiable in the admin

2011-10-17 Thread Daniel
thanks for your reply.
1. yes i am following the tutorial explicitly.
2. yes, i haven't removed it.
3. yes using 1.3

I did manage to find a workaround though. I simply executed the
commands via the python shell (run-> shell).
the error i was getting was when i went to run->run module. Can you
please explain

thanks,
daniel
On Oct 17, 9:53 pm, Ramiro Morales  wrote:
> On Mon, Oct 17, 2011 at 7:05 AM, Daniel  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.



Re: Tutorial help: Make the poll app modifiable in the admin

2011-10-17 Thread Ramiro Morales
On Mon, Oct 17, 2011 at 7:05 AM, Daniel  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.