ansible/roles/mailman/files/mailman3_urls.py
Michal Konecny 529fa0880a [mailman] Update the role for mailman 3.3+ staging-only
This updates the mailman role to work on EPEL 9. This is the first iteration,
let's see what will work and what not after it.

Signed-off-by: Michal Konecny <mkonecny@redhat.com>
2024-03-14 15:15:21 +01:00

18 lines
560 B
Python

# -*- coding: utf-8 -*-
from django.conf.urls import include, url
from django.contrib import admin
from django.core.urlresolvers import reverse_lazy
from django.views.generic import RedirectView
urlpatterns = [
url(r'^$', RedirectView.as_view(
url=reverse_lazy('list_index'),
permanent=True)),
url(r'^admin/', include('postorius.urls')),
url(r'^archives/', include('hyperkitty.urls')),
url(r'', include('django_mailman3.urls')),
url(r'^accounts/', include('allauth.urls')),
url(r'^django-admin/', admin.site.urls),
]