
On Montag, 10. Februar 2025 20:26:26 CET Mark Sapiro wrote:
On 2/10/25 01:07, Andreas Vetter wrote:
That is unfortunately not enough to get rid of the Warning, because venv/lib/ python3.11/site-packages/mailman_web/settings/mailman.py contains the old ACCOUNT_AUTHENTICATION_METHOD and allauth is complains about it.
In the recommended virtualenv installation, the settings that Django sees are /etc/mailman3/settings.py. That in turn contains
from mailman_web.settings.base import * from mailman_web.settings.mailman import *
but if following those imports you have
del ACCOUNT_AUTHENTICATION_METHOD
Django won't see it and won't complain. Did you actually try this? If so, did you put the
del ACCOUNT_AUTHENTICATION_METHOD
afterfrom mailman_web.settings.mailman import *
in /etc/mailman3/settings.py?
You are right, it is enough, when one does not have a typo in it. My fault.
Thanks a lot, Andreas