django-bulk-hooks 0.1.113__tar.gz → 0.1.114__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of django-bulk-hooks might be problematic. Click here for more details.

Files changed (17) hide show
  1. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/PKG-INFO +4 -4
  2. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/README.md +3 -3
  3. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/models.py +2 -2
  4. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/pyproject.toml +1 -1
  5. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/LICENSE +0 -0
  6. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/__init__.py +0 -0
  7. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/conditions.py +0 -0
  8. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/constants.py +0 -0
  9. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/context.py +0 -0
  10. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/decorators.py +0 -0
  11. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/engine.py +0 -0
  12. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/enums.py +0 -0
  13. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/handler.py +0 -0
  14. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/manager.py +0 -0
  15. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/priority.py +0 -0
  16. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/queryset.py +0 -0
  17. {django_bulk_hooks-0.1.113 → django_bulk_hooks-0.1.114}/django_bulk_hooks/registry.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-bulk-hooks
3
- Version: 0.1.113
3
+ Version: 0.1.114
4
4
  Summary: Hook-style hooks for Django bulk operations like bulk_create and bulk_update.
5
5
  Home-page: https://github.com/AugendLimited/django-bulk-hooks
6
6
  License: MIT
@@ -48,7 +48,7 @@ from django_bulk_hooks.models import HookModelMixin
48
48
 
49
49
  class Account(HookModelMixin):
50
50
  balance = models.DecimalField(max_digits=10, decimal_places=2)
51
- # The HookModelMixin automatically provides BulkManager
51
+ # The HookModelMixin automatically provides BulkHookManager
52
52
  ```
53
53
 
54
54
  ### Create a Hook Handler
@@ -204,10 +204,10 @@ LoanAccount.objects.bulk_update(reordered, ['balance'])
204
204
 
205
205
  ## 🧩 Integration with Queryable Properties
206
206
 
207
- You can extend from `BulkManager` to support formula fields or property querying.
207
+ You can extend from `BulkHookManager` to support formula fields or property querying.
208
208
 
209
209
  ```python
210
- class MyManager(BulkManager, QueryablePropertiesManager):
210
+ class MyManager(BulkHookManager, QueryablePropertiesManager):
211
211
  pass
212
212
  ```
213
213
 
@@ -29,7 +29,7 @@ from django_bulk_hooks.models import HookModelMixin
29
29
 
30
30
  class Account(HookModelMixin):
31
31
  balance = models.DecimalField(max_digits=10, decimal_places=2)
32
- # The HookModelMixin automatically provides BulkManager
32
+ # The HookModelMixin automatically provides BulkHookManager
33
33
  ```
34
34
 
35
35
  ### Create a Hook Handler
@@ -185,10 +185,10 @@ LoanAccount.objects.bulk_update(reordered, ['balance'])
185
185
 
186
186
  ## 🧩 Integration with Queryable Properties
187
187
 
188
- You can extend from `BulkManager` to support formula fields or property querying.
188
+ You can extend from `BulkHookManager` to support formula fields or property querying.
189
189
 
190
190
  ```python
191
- class MyManager(BulkManager, QueryablePropertiesManager):
191
+ class MyManager(BulkHookManager, QueryablePropertiesManager):
192
192
  pass
193
193
  ```
194
194
 
@@ -13,11 +13,11 @@ from django_bulk_hooks.constants import (
13
13
  )
14
14
  from django_bulk_hooks.context import HookContext
15
15
  from django_bulk_hooks.engine import run
16
- from django_bulk_hooks.manager import BulkManager
16
+ from django_bulk_hooks.manager import BulkHookManager
17
17
 
18
18
 
19
19
  class HookModelMixin(models.Model):
20
- objects = BulkManager()
20
+ objects = BulkHookManager()
21
21
 
22
22
  class Meta:
23
23
  abstract = True
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "django-bulk-hooks"
3
- version = "0.1.113"
3
+ version = "0.1.114"
4
4
  description = "Hook-style hooks for Django bulk operations like bulk_create and bulk_update."
5
5
  authors = ["Konrad Beck <konrad.beck@merchantcapital.co.za>"]
6
6
  readme = "README.md"