Changes between Initial Version and Version 1 of Ticket #17924, comment 3
- Timestamp:
- Mar 17, 2012, 5:21:33 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17924, comment 3
initial v1 9 9 self.fields['fk_field'] = ModelChoiceFieldWithDescriptions() 10 10 }}} 11 12 Or directly call `formfield` which is a bit ugly 13 {{{#!python 14 self._meta.model._meta.get_field('fk_field').formfield(form_class=ModelChoiceFieldWithDescriptions) 15 }}}