You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
I use ModelForm. One of fields is:
repertoire = models.ForeignKey(Repertoire)
I need to change it's display type. Instead of using unicode in display I want to show name and date of repertoire. How in ModelForm I can do that?
Jani Tiainen
unread,
Aug 27, 2012, 7:54:34 AM8/27/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
27.8.2012 12:11, jm kirjoitti:
> hi
>
> do you solved it ? I'm looking for the same and do not find anything to
> change which column is used in the SELECT instead of __unicode__
>
> thanks
>
> jm
>
> Le mercredi 20 juillet 2011 00:16:06 UTC+2, galgal a �crit :
>
> I use ModelForm. One of fields is:
>
> |repertoire= models.ForeignKey(Repertoire)
> |
>
> I need to change it's display type. Instead of using *unicode* in
> display I want to show name and date of repertoire. How in ModelForm
> I can do that?
>