accrete 0.0.76__py3-none-any.whl → 0.0.77__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.
@@ -31,12 +31,12 @@ class DetailPagination(TypedDict):
31
31
 
32
32
 
33
33
  @dataclass(kw_only=True)
34
- class KwargsContext:
34
+ class BaseContext:
35
35
 
36
- kwargs: dict = field(default_factory=dict)
36
+ extra: dict = field(default_factory=dict)
37
37
 
38
38
  def __post_init__(self):
39
- for key, value in self.kwargs.items():
39
+ for key, value in self.extra.items():
40
40
  setattr(self, key, value)
41
41
 
42
42
  def dict(self):
@@ -47,7 +47,7 @@ class KwargsContext:
47
47
 
48
48
 
49
49
  @dataclass(kw_only=True)
50
- class Context(KwargsContext):
50
+ class Context(BaseContext):
51
51
 
52
52
  title: str = ''
53
53
  breadcrumbs: list[BreadCrumb] = field(default_factory=list)
@@ -188,7 +188,7 @@ class FormContext(Context):
188
188
 
189
189
 
190
190
  @dataclass
191
- class ModalFormContext(KwargsContext):
191
+ class ModalFormContext(BaseContext):
192
192
 
193
193
  title: str
194
194
  form: Form | ModelForm
@@ -16,6 +16,7 @@ class Icon(Enum):
16
16
  DELETE_FILTER = 'icon-delete-filter'
17
17
  SELECT = 'icon-select'
18
18
  TRASH_CAN = 'fa fa-trash-can'
19
+ BOLT = 'fa fa-bolt'
19
20
 
20
21
 
21
22
  class ActionMethod(Enum):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: accrete
3
- Version: 0.0.76
3
+ Version: 0.0.77
4
4
  Summary: Django Shared Schema Multi Tenant
5
5
  Author-email: Benedikt Jilek <benedikt.jilek@pm.me>
6
6
  License: Copyright (c) 2023 Benedikt Jilek
@@ -37,8 +37,8 @@ accrete/contrib/system_mail/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
37
37
  accrete/contrib/ui/__init__.py,sha256=jU-3gQtEwtac-NPxFYCEoYF58WmCEanedXah4lETkWU,552
38
38
  accrete/contrib/ui/admin.py,sha256=suMo4x8I3JBxAFBVIdE-5qnqZ6JAZV0FESABHOSc-vg,63
39
39
  accrete/contrib/ui/apps.py,sha256=E0ao2ox6PQ3ldfeR17FXJUUJuGiWjm2DPCxHbPXGzls,152
40
- accrete/contrib/ui/context.py,sha256=F-stH2g4mybg97uUYK8Cmlc9NMgUx7RI4rxz01wag2M,10108
41
- accrete/contrib/ui/elements.py,sha256=IhK1WuhbJzV-Pvr0OVMkKrKpYYrl2knuvGimYECONfI,1917
40
+ accrete/contrib/ui/context.py,sha256=HZNKf_O71FxbH4kYXw-wUVQmUTkmCB19i6VyJL0FF3Q,10100
41
+ accrete/contrib/ui/elements.py,sha256=rwXhRitKt70-ZT4yiLXvB7cp8jQbr02L7JpYwUy5jv4,1941
42
42
  accrete/contrib/ui/filter.py,sha256=UAIkUNKu2nVQLafwZlkQu4PDfOPyFM61e_mE7OWRhYs,12410
43
43
  accrete/contrib/ui/tests.py,sha256=mrbGGRNg5jwbTJtWWa7zSKdDyeB4vmgZCRc2nk6VY-g,60
44
44
  accrete/contrib/ui/urls.py,sha256=UrRRroqP6ANW_jpkRWqo2yLvBhYOVhczzbxbfkGnoq4,124
@@ -221,7 +221,7 @@ accrete/utils/dates.py,sha256=apM6kt6JhGrKgoT0jfav1W-8AUVTxNc9xt3fJQ2n0JI,1492
221
221
  accrete/utils/forms.py,sha256=Lll-DvAhKZDw72XeuCtb4wxQEJNFp7lQWh_Z1GyH3Zk,3049
222
222
  accrete/utils/http.py,sha256=mAtQRgADv7zu1_j7A-EKVyb-oqa5a21i4Gd0QfjzGV0,3540
223
223
  accrete/utils/models.py,sha256=EEhv7-sQVtQD24PEb3XcDUAh3VVhVFoMMLyFrDjGEaI,706
224
- accrete-0.0.76.dist-info/METADATA,sha256=u25dqfmk3Hsaeg12ZKvt9WRmDSHx--BZCxPBZ5zADuw,4892
225
- accrete-0.0.76.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
226
- accrete-0.0.76.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
227
- accrete-0.0.76.dist-info/RECORD,,
224
+ accrete-0.0.77.dist-info/METADATA,sha256=5WK5qeJEnQ6axXO7JkKbCbSWpyURJ5kTfoLkVE_72M0,4892
225
+ accrete-0.0.77.dist-info/WHEEL,sha256=1yFddiXMmvYK7QYTqtRNtX66WJ0Mz8PYEiEUoOUUxRY,87
226
+ accrete-0.0.77.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
227
+ accrete-0.0.77.dist-info/RECORD,,