Fixes for the post-update.sh script for mailman: * add missing dependencies * Use correct template type for navbar-brand * Fix urls.py for postorius * Add settings_admin.py as it is needed for db migration Signed-off-by: Michal Konecny <mkonecny@redhat.com>
17 lines
547 B
Python
17 lines
547 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
from django.urls import include, re_path, reverse_lazy
|
|
from django.contrib import admin
|
|
|
|
from django.views.generic import RedirectView
|
|
|
|
urlpatterns = [
|
|
re_path(r'^$', RedirectView.as_view(
|
|
url=reverse_lazy('list_index'),
|
|
permanent=True)),
|
|
re_path(r'^admin/', include('postorius.urls')),
|
|
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/', admin.site.urls),
|
|
]
|