django-bulk-hooks 0.1.209__tar.gz → 0.1.211__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.
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/PKG-INFO +1 -1
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/engine.py +6 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/pyproject.toml +1 -1
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/LICENSE +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/README.md +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/__init__.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/conditions.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/constants.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/context.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/decorators.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/enums.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/handler.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/manager.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/models.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/priority.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/queryset.py +0 -0
- {django_bulk_hooks-0.1.209 → django_bulk_hooks-0.1.211}/django_bulk_hooks/registry.py +0 -0
|
@@ -20,9 +20,15 @@ def run(model_cls, event, new_records, old_records=None, ctx=None):
|
|
|
20
20
|
if not hooks:
|
|
21
21
|
return
|
|
22
22
|
|
|
23
|
+
import traceback
|
|
24
|
+
|
|
25
|
+
stack = traceback.format_stack()
|
|
23
26
|
print(
|
|
24
27
|
f"DEBUG: engine.run called for {model_cls.__name__}.{event} with {len(new_records)} records"
|
|
25
28
|
)
|
|
29
|
+
print(f"DEBUG: Call stack (last 3 frames):")
|
|
30
|
+
for line in stack[-4:-1]: # Show last 3 frames before this one
|
|
31
|
+
print(f" {line.strip()}")
|
|
26
32
|
|
|
27
33
|
# For BEFORE_* events, run model.clean() first for validation
|
|
28
34
|
if event.startswith("before_"):
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "django-bulk-hooks"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.211"
|
|
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"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|