Comments (5)
Thanks for raising, will take a look.
Does setting .import_order
solve the issue for you?
Ah I re-read and see that you said it doesn't help.
from django-import-export.
I was looking through the changes made to v4 and believe it has to do with a change in the Resource.get_fields
method here:
django-import-export/import_export/resources.py
Lines 142 to 146 in 6db364b
Where previously, it was ordered according to the export fields:
django-import-export/import_export/resources.py
Lines 357 to 362 in 7683e92
from django-import-export.
Thanks - is it possible you can try the fix in #1849 and let me know if it works for you?
from django-import-export.
Thanks - is it possible you can try the fix in #1849 and let me know if it works for you?
I just tested it out, and it's working as expected. Thanks for your help @matthewhegarty!
from django-import-export.
Thanks for confirming - will merge.
from django-import-export.
Related Issues (20)
- delete field and skip_field = False do not seem to work together HOT 2
- `Resource.get_fields()` no longer called outside of tests HOT 1
- Incorrect configuration of `STORAGES`
- Importing AND displaying related models at importing preview HOT 1
- Export fields not shown if ModelField of different name defined in ModelResource HOT 4
- DateWidget render() gives empty string when handling DateTime HOT 1
- Widget ManyToManyWidget cannot find m2m connections HOT 2
- Docs: screenshot page shows duplicate image and not export form
- Handle confirm_form validation errors gracefully HOT 10
- Warn for declared fields not in Meta.fields
- Dataset Import Doesn't Validate Against Model Constraints HOT 2
- Hide resource field when only one resource? HOT 1
- `test_import.py` module is large and can be broken up into smaller modules HOT 1
- Set up `pre-commit.ci`
- `import_id_fields` as foreign key shows Update instead of New HOT 1
- Avoid thousand separators in NumberWidget HOT 3
- Set up ReadTheDocs PR previews? HOT 3
- Create m2m relations with existing data in the Database HOT 1
- Import fails hard for skipped rows HOT 4
- Autogenerated fields and dehydrate methods? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-import-export.