Closed ShaheedHaque closed 6 years ago
I am sorry for the delay. Please try it. I have chosen the first suggestion. Will release it soon.
Thanks. See my comment on the commit.
On 10 Jan 2018 17:07, "jaska" notifications@github.com wrote:
I am sorry for the delay. Please try it. I have chosen the first suggestion. Will release it soon.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/pyexcel/pyexcel-io/issues/46#issuecomment-356668575, or mute the thread https://github.com/notifications/unsubscribe-auth/AEp7KeLqLohpxu1UUUkpm00BTgvBfjlCks5tJO4rgaJpZM4ROJs4 .
please take latest pyexcel, pyexcel-io and django-excel.
I don't see a new package for django-excel? Pypi still seems to be on 0.0.9 which I believe predates the fix. (I do see pyexcel has been bumped to 0.5.7 and pyexcel-io to 0.5.6). Did the push of 0.0.10 to Pypi fail?
Hey, my apologies. I forgot to publish django-excel v0.0.10 to pypi last night. now it is there.
Thanks, that seems to work nicely.
I'm running into an issue with Django's QuerySet.bulk_create() on multi-table inheritance which might be addressed in some cases. The use of this feature is controlled using the bulk_save option on pyexcel_io.database.importers.django.DjangoModelWriter...however, this is not exposed by pyexcel_io.database.importers.django.DjangoBookWriter:
A simple patch to address this would be to change that to:
or (unless there is some reason to limit what is passed?) possibly even:
Higher up, the ability to specify bulk_save is present in pyexcel.internal.core.save_sheet and save_book but is not exposed by pyexcel.internal.meta.BookMeta.save_to_django_models. This would need to be trivially addressed too.
FWIW, I'm presently using pyexcel-io 0.5.4, but I see that master (as above) also currently has this issue.