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?
I made my ModelForm like that :
class Author
class AuthorForm(ModelForm):
class Meta:
model = Author
exclude = ("status",)
--
http://www.arkeoloji.web.tr
--
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.