wbcore 1.56.1__py2.py3-none-any.whl → 1.56.3__py2.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.
wbcore/fsm/mixins.py
CHANGED
|
@@ -112,7 +112,10 @@ class FSMViewSetMixin(metaclass=FSMViewSetMixinMetaclass):
|
|
|
112
112
|
post_action_method(by=request.user)
|
|
113
113
|
# we extend the framework to allow action to successfully return but notify any possible warning. We use the message framework to communicate these warnings to the user
|
|
114
114
|
if warnings:
|
|
115
|
-
|
|
115
|
+
if isinstance(warnings, list):
|
|
116
|
+
html = "<ul>" + "".join(f"<li>{e}</li>" for e in warnings) + "</ul>"
|
|
117
|
+
else:
|
|
118
|
+
html = "<p>" + warnings + "</p>"
|
|
116
119
|
warning(request, html, extra_tags="auto_close=0")
|
|
117
120
|
|
|
118
121
|
serializer = serializer_class(instance=obj, context=serializer_context)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: wbcore
|
|
3
|
-
Version: 1.56.
|
|
3
|
+
Version: 1.56.3
|
|
4
4
|
Author-email: Christopher Wittlinger <c.wittlinger@stainly.com>
|
|
5
5
|
Requires-Dist: boto3==1.35.*
|
|
6
6
|
Requires-Dist: celery[redis]==5.*
|
|
@@ -35,6 +35,7 @@ Requires-Dist: fabric==3.2.*
|
|
|
35
35
|
Requires-Dist: faker==25.*
|
|
36
36
|
Requires-Dist: firebase-admin==6.*
|
|
37
37
|
Requires-Dist: graphviz==0.*
|
|
38
|
+
Requires-Dist: humanize==4.*
|
|
38
39
|
Requires-Dist: ics==0.*
|
|
39
40
|
Requires-Dist: igraph==0.*
|
|
40
41
|
Requires-Dist: inscriptis==1.*
|
|
@@ -979,7 +979,7 @@ wbcore/filters/fields/numbers.py,sha256=DRKDndzZwBvnzlLrMiijwoZ41px8B0xcYv23eFI6
|
|
|
979
979
|
wbcore/filters/fields/text.py,sha256=KUKq2BBmAZhI243WUgII052nzU_PmS3ivAZnlibArrQ,166
|
|
980
980
|
wbcore/fsm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
981
981
|
wbcore/fsm/markdown_extensions.py,sha256=nhArdsPaFNuAfE-8xCmvm_PdKJDpXq4YLjDHLk6ryfM,998
|
|
982
|
-
wbcore/fsm/mixins.py,sha256=
|
|
982
|
+
wbcore/fsm/mixins.py,sha256=vW5Xp09tLaCwAWTYjapy2gOFrzR48MhjakEelKxJ3Fw,6226
|
|
983
983
|
wbcore/locale/de/LC_MESSAGES/django.po,sha256=cIVadkOVokzRgGEvCrAl_XLKHgINNJnuggWODwEAoiA,34242
|
|
984
984
|
wbcore/locale/de/LC_MESSAGES/django.po.translated,sha256=pK20Tq5MnpnUgD3F20DpreCXjZIwhvtHsSZBlqjDaK4,43866
|
|
985
985
|
wbcore/locale/en/LC_MESSAGES/django.po,sha256=85opdOBlbrGVzuQL3pORHTQcBR1hA0XF2Qx5vl60dOQ,32107
|
|
@@ -1229,6 +1229,6 @@ wbcore/viewsets/generics.py,sha256=lKDq9UY_Tyc56u1bqaIEvHGgoaXwXxpZ1c3fLVteptI,1
|
|
|
1229
1229
|
wbcore/viewsets/mixins.py,sha256=IdHd_uixOv3ExKoHxTgL5Bt8OELIwfYwhBZm0nsvZfc,12054
|
|
1230
1230
|
wbcore/viewsets/utils.py,sha256=4520Ij3ASM8lOa8QZkCqbBfOexVRiZu688eW-PGqMOA,882
|
|
1231
1231
|
wbcore/viewsets/viewsets.py,sha256=FPPESunEjlunDr5VFsjTfsquTS3iDSQkw0H6QjMKPqk,6574
|
|
1232
|
-
wbcore-1.56.
|
|
1233
|
-
wbcore-1.56.
|
|
1234
|
-
wbcore-1.56.
|
|
1232
|
+
wbcore-1.56.3.dist-info/METADATA,sha256=ZsqUR_dWZEOR0RCEpK2G6sp0fJldAFPrX6KMVUWCzds,2332
|
|
1233
|
+
wbcore-1.56.3.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
1234
|
+
wbcore-1.56.3.dist-info/RECORD,,
|
|
File without changes
|