django-bulk-hooks 0.1.224__py3-none-any.whl → 0.1.225__py3-none-any.whl

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.

@@ -109,8 +109,9 @@ class HookQuerySetMixin:
109
109
  update_count = super().update(**kwargs)
110
110
 
111
111
  # Refresh instances to get computed subquery values BEFORE running BEFORE hooks
112
+ # Use the model's default manager to ensure queryable properties are properly handled
112
113
  refreshed_instances = {
113
- obj.pk: obj for obj in model_cls._base_manager.filter(pk__in=pks)
114
+ obj.pk: obj for obj in model_cls.objects.filter(pk__in=pks)
114
115
  }
115
116
 
116
117
  # Update instances in memory with computed values
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: django-bulk-hooks
3
- Version: 0.1.224
3
+ Version: 0.1.225
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
@@ -9,9 +9,9 @@ django_bulk_hooks/handler.py,sha256=xZt8iNdYF-ACz-MnKMY0co6scWINU5V5wC1lyDn844k,
9
9
  django_bulk_hooks/manager.py,sha256=nfWiwU5-yAoxdnQsUMohxtyCpkV0MBv6X3wmipr9eQY,3697
10
10
  django_bulk_hooks/models.py,sha256=exnXYVKEVbYAXhChCP8VdWTnKCnm9DiTcokEIBee1I0,4350
11
11
  django_bulk_hooks/priority.py,sha256=HG_2D35nga68lBCZmSXTcplXrjFoRgZFRDOy4ROKonY,376
12
- django_bulk_hooks/queryset.py,sha256=ZEYrO8AJunmoS9n7xSkjDTG3kOAntAOTnpfsd-GhC0c,33798
12
+ django_bulk_hooks/queryset.py,sha256=Uq6mBQOrShe6Ahvh5tdItJOmVkhZi4Ndyva1aqKal88,33895
13
13
  django_bulk_hooks/registry.py,sha256=8UuhniiH5ChSeOKV1UUbqTEiIu25bZXvcHmkaRbxmME,1131
14
- django_bulk_hooks-0.1.224.dist-info/LICENSE,sha256=dguKIcbDGeZD-vXWdLyErPUALYOvtX_fO4Zjhq481uk,1088
15
- django_bulk_hooks-0.1.224.dist-info/METADATA,sha256=Z2cm7smH6WA8oIybkRrlec4Z3ault2_3YwEY0DDp-LE,9049
16
- django_bulk_hooks-0.1.224.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
- django_bulk_hooks-0.1.224.dist-info/RECORD,,
14
+ django_bulk_hooks-0.1.225.dist-info/LICENSE,sha256=dguKIcbDGeZD-vXWdLyErPUALYOvtX_fO4Zjhq481uk,1088
15
+ django_bulk_hooks-0.1.225.dist-info/METADATA,sha256=5b8WTSqOjYEqljpLICZ42_N8Gj0TkwNBbv220Uh7q54,9049
16
+ django_bulk_hooks-0.1.225.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
17
+ django_bulk_hooks-0.1.225.dist-info/RECORD,,