pyexcel.Sheet.save_to_django_model
- Sheet.save_to_django_model(model, initializer=None, mapdict=None, batch_size=None)
Save to database table through django model
- Parameters:
model – a database model
initializer – a initialization functions for your model
mapdict – custom map dictionary for your data columns
batch_size – a parameter to Django concerning the size for bulk insertion