Comments (4)
column_name
as described:
https://django-import-export.readthedocs.org/en/latest/api_fields.html
from django-import-export.
ok,I will review the documents more attentively,thanks
from django-import-export.
Sir,it runs well when I use
import import_export
class AuthorResource(resources.ModelResource):
author=import_export.fields.Field(column_name='alias-author')
class Meta:
model = Author
thanks!
When I use
from import_export import fields
class AuthorResource(resources.ModelResource):
author=fields.Field(column_name='alias-author')
class Meta:
model = Author
It cause error,maybe have some confilicts to my other module
from django-import-export.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from django-import-export.
Related Issues (20)
- Remove support for django3.2
- Add type hints HOT 3
- Confirmation page displays incorrect fields
- Using a ManyToManyWidget does not allow to ignore an empty value HOT 1
- A way to make a header column required HOT 4
- Add support for PositiveBigIntegerField HOT 2
- Python object as JSONWidget input HOT 3
- Admin Export fails for models with a primary key which is not "id" HOT 1
- Admin Export does not honour the "IMPORT_EXPORT_SKIP_ADMIN_ACTION_EXPORT_UI" setting HOT 1
- Badly formed header presents a stack trace instead of an error
- 4.0 compatiblity with AutoSlugField - unexpected keyword argument 'allow_blank' HOT 1
- Admin export confirm page runs a query for the entire table HOT 4
- attribute and column_name mixed up for export and Meta.fields HOT 3
- ImportForm does not support widgets with associated CSS and JS media HOT 1
- Widget.__init__() got an unexpected keyword argument 'key_is_id' when a field is ForeignKey subclass HOT 2
- 'import_id_fields = []' can't handle programmaticaly created columns in 4.0 HOT 5
- Can't import file without an `id` column in V4 HOT 4
- v4 add custom delimiter for csv. HOT 5
- Referencing a column alias in the `fields` list causes a crash on import HOT 1
- `use_natural_foreign_keys` in ModelResource.Meta not working in V4 HOT 2
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.