I have to override the default display of a foreignkey field in a form and instead display it as a CharField. Currently it displays the selection's ID but I need to display the label instead
To be clear, the select option would be the default display for the ForeignKey. At the moment after I've turned the display to a CharField it displays 23 in the field. I need to display Fish. <option value="23">Fish</option> Any help appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@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.