[Pkg-mailman-hackers] Bug#903104: Configuration of base url

bgrpt3 at toplitzer.net bgrpt3 at toplitzer.net
Fri Jul 6 08:39:16 BST 2018


Package: mailman3-web
Version: 0+20170523-14~bpo9+1
Severity: wishlist

Currently configuration of the base URL is not possible without

 1. modifying /usr/share/mailman3-web/urls.py  (regular package-file)

or

 2. setting the ROOT_URLCONF = 'urls2' in the /etc/mailman3/mailman-web.py
    or /usr/share/mailman3-web/settings.py
    and adding a link in /usr/share/mailman3-web/urls2.py to
    file /etc/mailman3/mailman-web.urls2.py

containing:
======
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'^<additional-base-url>', include('urls')),
]
=====

or

 3. same as 2 with ROOT_URLCONF = 'package.url...' and separate package.

Please include method 2 into the package with 
descriptive template.



More information about the Pkg-mailman-hackers mailing list