NOKUBI Takatsugu: mailman3-web error when upgrading to bookworm
I tried to upgrade bullseye machien to bookworm, so I got the following error:
File /usr/lib/python3/dist-packages/django/contrib/auth/mixins.py , line 5, inIt is similar to #1000810, but it is already closed. My solution is:
from django.contrib.auth.views import redirect_to_login
File /usr/lib/python3/dist-packages/django/contrib/auth/views.py , line 20, in
from django.utils.http import (
ImportError: cannot import name url_has_allowed_host_and_scheme from django.utils.http (/usr/lib/python3/dist-packages/django/utils/http.py) During handling of the above exception, another exception occurred:
- apt remove mailman3-web
- keep db and config files (do not purge)
- apt autoremove
- remove django related packages
- apt install mailman3-web mailman3-full









