A product aggregation function to a postgres database and makes it available with django
Project description
Summary
This django library adds signals for the bulk database actions provided by django (bulk_create
, bulk_update
and QuerySet.update
)
usage
Add app to settings
INSTALLED_APPS = [
...,
bulk_signals,
...
]
Import signals and connect.The signals are connected the same way as in Django itself. To see them in action use the following snippet:
from django.dispatch import receiver
from bulk_signals import signals
@receiver(signals.post_bulk_update, signals.post_bulk_update, signals.post_query_update)
def debug(*args, **kwargs):
print(args)
print(kwargs)
TODO
- test against different database backends
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-bulk-signals-0.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb7ce3f4f07d64986cb86c0338d49bb79e6692223a0ebfad4049f0727bebf661 |
|
MD5 | 8acabb1cd6d320aa44e3938e7ed23dbc |
|
BLAKE2b-256 | 19fbc09bfa26e3bd8db3a5b7dda827687d7b323c3fdeb8eae795e37b0162bc60 |
Close
Hashes for django_bulk_signals-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d1c7f1bfad3bd31402daa70f07e183963f805e0bbdf5b14dcc9e4cad93cdf05 |
|
MD5 | 28783d1f7a7ef1c742813140e936de9b |
|
BLAKE2b-256 | 12403ef43e258b11b0eb1eef769fa21a0c8c09a58b57bb95fc7392887fd48f19 |