On 8/9/26 00:30, Torsten wrote:

the traceback is this:

Traceback (most recent call last):
  File "/opt/mailman/web/venv/lib/python3.13/site-packages/django/core/handlers/wsgi.py", line 124, in __call__
     response = self.get_response(request)
  File "/opt/mailman/web/venv/lib/python3.13/site-packages/django/core/handlers/base.py", line 139, in get_response
     set_urlconf(settings.ROOT_URLCONF)
                 ^^^^^^^^^^^^^^^^^^^^^
  File "/opt/mailman/web/venv/lib/python3.13/site-packages/django/conf/__init__.py", line 104, in __getattr__
     val = getattr(_wrapped, name) >
Where should mailman_web.urls be located, also in /etc/mailman3 or rather in the venv of mailman_web in /opt/mailman...?

How did you install Mailman? If you followed <https://docs.mailman3.org/en/latest/install/virtualenv.html>, you should have /etc/mailmasn3/settings.py which is similar to <https://docs.mailman3.org/en/latest/install/virtualenv.html#initial-configuration>. In particular, it should have near the beginning
```
from mailman_web.settings.base import *
from mailman_web.settings.mailman import *
```
The import from mailman_web.settings.base defines
```
ROOT_URLCONF = 'mailman_web.urls'
```
which points to mailman_web/urls.py in the venv's site-packages directory.

--
Mark Sapiro <[email protected]>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

_______________________________________________
Mailman-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
Archived at: 
https://lists.mailman3.org/archives/list/[email protected]/message/DZFTXCSOCPXS3TCPQU3OVV24TEZP4U3H/

This message sent to [email protected]

Reply via email to