Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jump column #65

Closed
bengoshii opened this issue Oct 21, 2020 · 3 comments
Closed

jump column #65

bengoshii opened this issue Oct 21, 2020 · 3 comments

Comments

@bengoshii
Copy link

Hi:
I want to import an excel-file; this file is standardized. I have some columns in the excel-file which I have not in my model (and I do not need). I could edit the excel-file for every import but I would prefere to "skip" some columns. I tried to write a mapdicts=[['foo', '', 'bar']] for skip the column between A and C. Is there a way?
Thanks,
bengoshi

@chfw
Copy link
Member

chfw commented Oct 21, 2020

There must be a way. Let me have a look.

@chfw
Copy link
Member

chfw commented Oct 31, 2020

Please upgrade to pyexcel-io 0.6.4.

and follow the example here:

https://github.com/pyexcel-webwares/django-excel/blob/master/polls/views.py#L245

@chfw
Copy link
Member

chfw commented Oct 31, 2020

the tutorial has covered it too: http://django.pyexcel.org/en/latest/#handle-data-import

@chfw chfw closed this as completed Oct 31, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants