django-bulk-hooks 0.1.79__tar.gz → 0.1.80__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.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: django-bulk-hooks
3
- Version: 0.1.79
3
+ Version: 0.1.80
4
4
  Summary: Hook-style hooks for Django bulk operations like bulk_create and bulk_update.
5
5
  License: MIT
6
6
  Keywords: django,bulk,hooks
@@ -9,6 +9,14 @@ from django_bulk_hooks.constants import (
9
9
  VALIDATE_DELETE,
10
10
  VALIDATE_UPDATE,
11
11
  )
12
+ from django_bulk_hooks.conditions import (
13
+ ChangesTo,
14
+ HasChanged,
15
+ IsEqual,
16
+ IsNotEqual,
17
+ WasEqual,
18
+ )
19
+ from django_bulk_hooks.decorators import hook, select_related
12
20
  from django_bulk_hooks.engine import safe_get_related_object, safe_get_related_attr
13
21
  from django_bulk_hooks.handler import HookHandler
14
22
  from django_bulk_hooks.models import HookModelMixin
@@ -29,4 +37,11 @@ __all__ = [
29
37
  "safe_get_related_object",
30
38
  "safe_get_related_attr",
31
39
  "Priority",
40
+ "hook",
41
+ "select_related",
42
+ "ChangesTo",
43
+ "HasChanged",
44
+ "IsEqual",
45
+ "IsNotEqual",
46
+ "WasEqual",
32
47
  ]
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "django-bulk-hooks"
3
- version = "0.1.79"
3
+ version = "0.1.80"
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"