From 143243ef454342920c9ec28277c46a3d38a261bf Mon Sep 17 00:00:00 2001 From: Michal Konecny Date: Wed, 27 Mar 2024 16:36:16 +0100 Subject: [PATCH] [mailman3] Fix the urls.py error This is fixing the error `django.core.exceptions.ImproperlyConfigured: Passing a 3-tuple to include() is not supported. Pass a 2-tuple containing the list of patterns and app_name, and provide the namespace argument to include() instead.` Signed-off-by: Michal Konecny --- roles/mailman3/files/urls.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mailman3/files/urls.py b/roles/mailman3/files/urls.py index a5122211f6..1fdbd5d7ce 100644 --- a/roles/mailman3/files/urls.py +++ b/roles/mailman3/files/urls.py @@ -12,5 +12,5 @@ urlpatterns = [ re_path(r'^archives/', include('hyperkitty.urls')), re_path(r'', include('django_mailman3.urls')), re_path(r'^accounts/', include('allauth.urls')), - re_path(r'^django-admin/', include(admin.site.urls)), + re_path(r'^django-admin/', admin.site.urls), ]