django-unfold 0.64.0__py3-none-any.whl → 0.64.2__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.
- {django_unfold-0.64.0.dist-info → django_unfold-0.64.2.dist-info}/METADATA +1 -1
- {django_unfold-0.64.0.dist-info → django_unfold-0.64.2.dist-info}/RECORD +6 -6
- unfold/templates/unfold/helpers/command.html +1 -0
- unfold/utils.py +4 -0
- {django_unfold-0.64.0.dist-info → django_unfold-0.64.2.dist-info}/LICENSE.md +0 -0
- {django_unfold-0.64.0.dist-info → django_unfold-0.64.2.dist-info}/WHEEL +0 -0
@@ -187,7 +187,7 @@ unfold/templates/unfold/helpers/breadcrumb_item.html,sha256=9T6ojN7LOXIlgwSwlIwH
|
|
187
187
|
unfold/templates/unfold/helpers/change_list_actions.html,sha256=xuFMZel6kH014H9sl0hKvQo7LP0UxwlhFQHIUeyQxVM,643
|
188
188
|
unfold/templates/unfold/helpers/change_list_filter.html,sha256=WwU-AG4U5qZQ_sFs1z_jaaYBWqIv3ASmtKIQIhAp2gs,1908
|
189
189
|
unfold/templates/unfold/helpers/change_list_filter_actions.html,sha256=K99hHgpCLaAHxv-eqIf4nOUfq6CeTQHekEeudKTRYME,2036
|
190
|
-
unfold/templates/unfold/helpers/command.html,sha256=
|
190
|
+
unfold/templates/unfold/helpers/command.html,sha256=s5W_RZWz8kACMQzgf91sB3xFJES3OsQG5MoTPbj16f8,2826
|
191
191
|
unfold/templates/unfold/helpers/command_history.html,sha256=AB5elGPyY51aHuaWnwXddZmdcSadcqBOzdzjYqR4lfU,2866
|
192
192
|
unfold/templates/unfold/helpers/command_results.html,sha256=nmdU8QEF68tYIOgt5pPmNPq4pQ_fCtNIOSPeunsadvs,2708
|
193
193
|
unfold/templates/unfold/helpers/delete_submit_line.html,sha256=7SNS0axGytvUih9KxtOzy9ZC5rwG9u99iQxlnUZQfdE,700
|
@@ -300,10 +300,10 @@ unfold/templatetags/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
|
|
300
300
|
unfold/templatetags/unfold.py,sha256=_OtD5JmyPA4G28fZRFEkfBQMUq8giNumjqFP8AhvCjI,22550
|
301
301
|
unfold/templatetags/unfold_list.py,sha256=WWQSCM4QmQMr8YddA4krFztuuUXo2y28RA7jZfOiewE,14415
|
302
302
|
unfold/typing.py,sha256=i7LM2LiwYTAjT5-OLDUPVn5b9X-DMmHnjlZG2toWwSE,692
|
303
|
-
unfold/utils.py,sha256=
|
303
|
+
unfold/utils.py,sha256=UY7ZvkQ6KXkY0OkThppZ1k1HggyUhV_2bZok-HpFBDA,6827
|
304
304
|
unfold/views.py,sha256=iICsveQVxeXSKKr8MfJbq82nOpLLNlGYoJox7SEHFcA,1572
|
305
305
|
unfold/widgets.py,sha256=Af4eZWRxhOxxDpyxz-jC5DD_JNvZ0NSvJirVJOQcA_8,24687
|
306
|
-
django_unfold-0.64.
|
307
|
-
django_unfold-0.64.
|
308
|
-
django_unfold-0.64.
|
309
|
-
django_unfold-0.64.
|
306
|
+
django_unfold-0.64.2.dist-info/LICENSE.md,sha256=Ltk_quRyyvV3J5v3brtOqmibeZSw2Hrb8bY1W3ya0Ik,1077
|
307
|
+
django_unfold-0.64.2.dist-info/METADATA,sha256=TDy4Nw2fY2KUG8-PJav7GQ6rmmRCrJNQlxApnVcxnyI,9998
|
308
|
+
django_unfold-0.64.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
309
|
+
django_unfold-0.64.2.dist-info/RECORD,,
|
unfold/utils.py
CHANGED
@@ -202,5 +202,9 @@ def convert_color(value: str) -> str:
|
|
202
202
|
return value
|
203
203
|
elif isinstance(value, str) and all(part.isdigit() for part in value.split()):
|
204
204
|
return f"rgb({', '.join(value.split(' '))})"
|
205
|
+
elif isinstance(value, str) and all(
|
206
|
+
part.strip().isdigit() for part in value.split(",")
|
207
|
+
):
|
208
|
+
return f"rgb({', '.join(part.strip() for part in value.split(','))})"
|
205
209
|
|
206
210
|
return value
|
File without changes
|
File without changes
|