From ddd12b684dc5c62d3eff2136ea67ab4e5cb1485f Mon Sep 17 00:00:00 2001 From: ticvac Date: Mon, 2 Dec 2024 11:51:19 +0100 Subject: [PATCH] komentar --- mamweb/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mamweb/admin.py b/mamweb/admin.py index 9b4391db..8a5f16af 100644 --- a/mamweb/admin.py +++ b/mamweb/admin.py @@ -56,7 +56,7 @@ def get_app_list(self, request, app_label=None): # Sort the models alphabetically within each app. - try: + try: # na macu nefunguje locale.strxfrm :-/ proto je tu try except block for app in app_list: app['models'].sort(key=lambda x: locale.strxfrm(x['name'].lower())) except OSError: