Extra fields not exported
dyve opened this issue · comments
If you add extra fields to a queryset using .extra(select={'foo': '...'})
, these are not exported if you send the queryset to django-tablib. It looks like tablib does not 'see' the extra fiedls, only the model fields.
ModelDatasets work based on the model definitions, and determine the list of fields based on that. Any content from .extra() is not part of the model definition, and so ModelDatasets don't know about it.