Matt Hegarty

Results 266 comments of Matt Hegarty

Likes like a useful addition. I'm wondering if simply `import` or `export` would suffice? i.e. `_data` is redundant? Is there a Python or Django pattern for accepting file input for...

All sounds great. > To me, it seems clearest to use an explicit argument that accepts '-' for stdin. Yes that sounds like the best approach. Similar to how grep...

thanks for raising - will take a look when I get a chance

Best advice would be to download the example app and see how m2m fields are handled by default. Reading source code and stepping through with breakpoints is the best way...

Hi I can't reproduce based on what you have posted. Can you try with the example app and see if you get the same?

ok - going to close this because I can't see this being a django-import-export issue.

Looks like a great addition. Happy to help out if needed. I could look into import as I have done some work in this space before.

Don't forget you can use [bulk imports](https://django-import-export.readthedocs.io/en/latest/bulk_import.html) to prevent a save on each row.

Thanks for the offer of help. I think that about 60-80% of the code already exists out there in various forms so it would be a case of integrating. The...

You can modify the tablib dataset in the [`after_export()`](https://github.com/django-import-export/django-import-export/blob/3d05cd05a76d8332e5e26b525bf2a5bedc51495c/import_export/resources.py#L1008) method. More info [here](https://stackoverflow.com/a/62332748/39296) and [here](https://stackoverflow.com/a/78900514/39296).