Metadata-Version: 2.1
Name: django-bulk_create
Version: 1.0.0
Summary: django bulk_create() function
Keywords: django
Classifier: Framework :: Django
Classifier: License :: Public Domain
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown

### Installation
```bash
$ pip install django-bulk_create
```

### Features
*   multiple models aggregator

### Examples
```python
from django_bulk_create import bulk_create
from apps.app.models import Model1, Model2

create_list = []
create_list+=[Model1(id=42,description='description')]
create_list+=[Model2(key="value")]

model2kwargs = {
    Model1: dict(
        update_conflicts=True,
        unique_fields = ['id'],
        update_fields = [
            'description',
        ]
    ),
    Model2: dict(ignore_conflicts=True)
}
bulk_create(create_list,model2kwargs)
```

