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.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3449161440fad122d157cdf9ad130dd6585581b1a67c793c1f8023eb505a14a6 |
|
MD5 | 3b299d9d1bad839081e7be224687ed5a |
|
BLAKE2b-256 | 02820d702c414853a3a2efa3de0820f81d4d1de2e429c6adb02035f6f771c2c3 |
Close
Hashes for django_bulk_signals-0.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98299ea27ba8e7d7233f1c491aa19fb052087c75aa9bc2191c398ceaa097a372 |
|
MD5 | c3d9a3db33e30a00898ea0077fc45cdf |
|
BLAKE2b-256 | b6ada2eb417bd2aa81d885319a2eb5c615e547dffca7e12bec622333c1db8998 |