On za, 2010-03-06 at 23:36 +0200, H.İbrahim Yılmaz wrote: > Hi all, > I have some ModelForms.. This ModelForms based some ForeignKey > included models. When i want to create a ModelForm I got these > ForeignKey fields something like (in a dropdown menu) "BlaBla object". > But i want to get in that dropdown menus something like "Linus > Torvalds". I mean how can I show in that fields that Models name area > or adress area?
This is something you need to fix in your Model, not your ModelForm. Give the Model a __unicode__ method. -- Dennis K. The universe tends towards maximum irony. Don't push it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

