From 955c43bfc01f9bad29432188624ba1b358acdeca Mon Sep 17 00:00:00 2001 From: Vipul Narang Date: Fri, 8 Mar 2024 18:11:00 +0530 Subject: [PATCH] updated regular expression --- cms/admin/settingsadmin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cms/admin/settingsadmin.py b/cms/admin/settingsadmin.py index e71d6257477..7e9c7b5e784 100644 --- a/cms/admin/settingsadmin.py +++ b/cms/admin/settingsadmin.py @@ -43,7 +43,7 @@ def wrapper(*args, **kwargs): path('', wrap(self.change_view), name='%s_%s_change' % info), - path(r'^(.+)/$', + path('/$', wrap(self.change_view), name='%s_%s_change' % info), ]