accrete 0.0.109__py3-none-any.whl → 0.0.110__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.
- accrete/contrib/ui/context.py +5 -0
- {accrete-0.0.109.dist-info → accrete-0.0.110.dist-info}/METADATA +1 -1
- {accrete-0.0.109.dist-info → accrete-0.0.110.dist-info}/RECORD +5 -5
- {accrete-0.0.109.dist-info → accrete-0.0.110.dist-info}/WHEEL +0 -0
- {accrete-0.0.109.dist-info → accrete-0.0.110.dist-info}/licenses/LICENSE +0 -0
accrete/contrib/ui/context.py
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import logging
|
2
|
+
import re
|
2
3
|
from dataclasses import dataclass, field
|
3
4
|
from django.core import paginator
|
4
5
|
from django.db.models import QuerySet, Model
|
@@ -84,3 +85,7 @@ class ModalContext(BaseContext):
|
|
84
85
|
title: str
|
85
86
|
modal_id: str
|
86
87
|
blocking: bool = False
|
88
|
+
|
89
|
+
def __post_init__(self):
|
90
|
+
super().__post_init__()
|
91
|
+
self.modal_id = re.sub(r'[^A-Za-z]+','', self.modal_id)
|
@@ -37,7 +37,7 @@ accrete/contrib/system_mail/migrations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JC
|
|
37
37
|
accrete/contrib/ui/__init__.py,sha256=hZShhQbnjxUnNfzDYS16-Zapo_HPxhIKO3oorZosuyY,184
|
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=
|
40
|
+
accrete/contrib/ui/context.py,sha256=MLITEVZndD_3QZ4nnBT4Bpl9s1bc7RZ3d6LlQKMM54Q,1922
|
41
41
|
accrete/contrib/ui/filter.py,sha256=UA5JNbFn17dE8NTCpaGx1zWV0vc4GBU4o51CDOOvKUI,13284
|
42
42
|
accrete/contrib/ui/middleware.py,sha256=QprWR8FXK9iMPIvLQAeYASaUJSW0uD9BHoYroMKrph0,1560
|
43
43
|
accrete/contrib/ui/models.py,sha256=Vjc0p2XbAPgE6HyTF6vll98A4eDhA5AvaQqsc4kQ9AQ,57
|
@@ -363,7 +363,7 @@ accrete/utils/forms.py,sha256=IvxbXNpSd4a-JBgsTJhs2GHe-DCRWX-xnVPRcoiCzbI,3104
|
|
363
363
|
accrete/utils/log.py,sha256=BH0MBDweAjx30wGBO4F3sFhbgkSoEs7T1lLLjlYZNnA,407
|
364
364
|
accrete/utils/models.py,sha256=2xTacvcpmDK_Bp4rAK7JdVLf8HU009LYNJ6eSpMgYZI,1014
|
365
365
|
accrete/utils/views.py,sha256=AutijWetWGgjdO1PNc4gxCblT-i1fAfldNDFRbO9Sac,5012
|
366
|
-
accrete-0.0.
|
367
|
-
accrete-0.0.
|
368
|
-
accrete-0.0.
|
369
|
-
accrete-0.0.
|
366
|
+
accrete-0.0.110.dist-info/METADATA,sha256=xOTVtLXOQVMSB8ipSDRrt0SPOYPZjFxZdoE9Oq4uVWY,4953
|
367
|
+
accrete-0.0.110.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
368
|
+
accrete-0.0.110.dist-info/licenses/LICENSE,sha256=_7laeMIHnsd3Y2vJEXDYXq_PEXxIcjgJsGt8UIKTRWc,1057
|
369
|
+
accrete-0.0.110.dist-info/RECORD,,
|
File without changes
|
File without changes
|