I have a model with a manytomany field as follows: contact = ChainedManyToManyField( 'contacts.Contact', chained_field="practice", chained_model_field="practice", )
Within my admin I have the following for import/export: contact = fields.Field(column_name='contact name', attribute='contact', widget=ManyToManyWidget(Contact, 'contact')) However, this only returns the contact id. I am stuck on how I could return the name of the contact instead. Within the contact model contact equates to the name of the contact. Any assistance would be appreciated and apologies in advance if I have overlooked the obvious! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/344565d3-0144-4069-b1db-6fa4003bd1a5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.