19 Oct
2023
19 Oct
'23
7:44 p.m.
On 10/19/23 12:30, Wikinaut wrote:
Now I wanted to start uwsgi, after having setup everything as documented but I got in the error log this:
ModuleNotFoundError: No module named 'allauth.account.middleware'
As it says at https://lists.mailman3.org/archives/list/mailman-users@mailman3.org/message/...
"Note either downgrade django-allauth or update MIDDLEWARE, but not both."
Now you have added 'allauth.account.middleware.AccountMiddleware' to MIDDLEWARE and downgraded django-allauth<0.56.
You can either do
pip install --upgrade django-allauth
or remove
x = list(MIDDLEWARE)
x.insert(0, 'allauth.account.middleware.AccountMiddleware')
MIDDLEWARE = x
from /etc/mailman3/settings.py. Either will do, but DO NOT DO BOTH.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan