Public bug reported:
Installation of mail3man-web (0+20200530-2.1) in mantic produces a list
of 14 warnings that look like this:
WARNINGS:
django_mailman3.MailDomain: (models.W042) Auto-created primary key used
when not defining a primary key type, by default 'django.db.models.AutoField'.
HINT: Configure the DEFAULT_AUTO_FIELD setting or the
DjangoMailman3Config.default_auto_field attribute to point to a subclass of
AutoField, e.g. 'django.db.models.BigAutoField'.
This would only be a minor nuisance, except that the application sends
this list of warnings in an email to the site administrator _once every
minute_.
The issue can be resolved by adding this line to
/usr/share/mailman3-web/settings.py (patch attached):
DEFAULT_AUTO_FIELD='django.db.models.AutoField'
** Affects: mailman-suite (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "auto_field.patch"
https://bugs.launchpad.net/bugs/2060753/+attachment/5763076/+files/auto_field.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2060753
Title:
mailman3-web needs DEFAULT_AUTO_FIELD setting
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman-suite/+bug/2060753/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs