On Apr 16, 2:18 pm, zayatzz <alan.kesselm...@gmail.com> wrote:
> http://docs.djangoproject.com/en/dev/intro/tutorial02/#adding-related...
>
> On that page is small picture of adding choice to a poll. There is
> selectbox and textfields.
>
> My question is - how to choose which field of poll model will be shown
> in this selectbox?
>
> Alan.

It's not a field, it's the result of calling unicode() on the poll
instance. If you want to change it, change the __unicode__ method.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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