Override to export fields from a ForeignKey?
mick-t opened this issue · 1 comments
mick-t commented
I have a user whom needs to export a model that has a OneToOneField to Django's User Model. One of the fields they require is the User model's Email field. How can I override the default export to CVS to do this?
Thanks
saxix commented
wraps export_as_csv
and change the queryset only in this action is one possible solution