This issue is still there for me. I am starting a new installation from
scratch, with the venv method in 3.13.
(venv) root@darni ~ # mailman-web migrate
System check identified some issues:
WARNINGS:
?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use:
settings.ACCOUNT_LOGIN_METHODS = {'email', 'username'}
?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use:
settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*',
'password2*']
Operations to perform:
Apply all migrations: account, admin, auth, contenttypes, django_mailman3,
django_q, hyperkitty, postorius, sessions, sites, socialaccount
Running migrations:
No migrations to apply.
I have
root@darni /etc/mailman3 # head -15 /etc/mailman3/settings.py
# Mailman Web configuration file.
# /etc/mailman3/settings.py
# Get the default settings.
from mailman_web.settings.base import *
from mailman_web.settings.mailman import *
# Settings below supplement or override the defaults.
# see
https://lists.mailman3.org/archives/list/[email protected]/thread/U...
del ACCOUNT_AUTHENTICATION_METHOD
ACCOUNT_LOGIN_METHODS = {'email', 'username'}
del ACCOUNT_EMAIL_REQUIRED
ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*', 'password2*']
Which is what I believe Wikinaut suggested works for her/him. But the warning
is
still there.
I added Marks suggestions to add verbiage in the actual codebase
root@darni /etc/mailman3 # tail -17
/usr/local/mailman/venv/lib/python3.13/site-packages/mailman_web/settings/mailman.py
### added by ToK
#: Django Allauth
#ACCOUNT_AUTHENTICATION_METHOD = "username_email"
#ACCOUNT_EMAIL_REQUIRED = True
#ACCOUNT_EMAIL_VERIFICATION = "mandatory"
#ACCOUNT_UNIQUE_EMAIL = True
ACCOUNT_LOGIN_METHODS = {'email', 'username'}
ACCOUNT_SIGNUP_FIELDS = ['username*', 'email*', 'password1*',
'password2*']
ACCOUNT_EMAIL_VERIFICATION = "mandatory"
ACCOUNT_UNIQUE_EMAIL = True
ACCOUNT_EMAIL_UNKNOWN_ACCOUNTS = False
del ACCOUNT_EMAIL_REQUIRED
ACCOUNT_SIGNUP_FIELDS = ['username*', 'email*', 'password1*', 'password2*']
Restarted
root@darni /etc/mailman3 # systemctl restart mailman3 ; systemctl restart
mailmanweb
Same old.
(venv) root@darni ~ # mailman-web migrate
System check identified some issues:
WARNINGS:
?: settings.ACCOUNT_AUTHENTICATION_METHOD is deprecated, use:
settings.ACCOUNT_LOGIN_METHODS = {'email', 'username'}
?: settings.ACCOUNT_EMAIL_REQUIRED is deprecated, use:
settings.ACCOUNT_SIGNUP_FIELDS = ['email*', 'username*', 'password1*',
'password2*']
Operations to perform:
Apply all migrations: account, admin, auth, contenttypes, django_mailman3,
django_q, hyperkitty, postorius, sessions, sites, socialaccount
Running migrations:
No migrations to apply.
Maybe I missunderstood something.
--
Written by Thomas Krichel http://openlib.org/home/krichel on his 22190th day.
_______________________________________________
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/BVI3EMZ7EZSOOMF6OJEG4PLLXK6MY723/
This message sent to [email protected]