Skip to content

update django-allauth and dj-rest-auth

tom barrett requested to merge tombarrett/funkwhale:develop into develop

Hi, i would like to update allauth since its version is over three years old now. I am not too familiar with this project, so excuse me beforehand if I have done something wrong.

my endgoal is building the project with nix, as i think nixos would benefit greatly for having simple services.funkwhale.enable = true; capabilities.

when running with this with django-allauth v57 i get:

  File "/nix/store/jlgn3n0ig4pr56xp9yl1cc340jmd8cnr-funkwhale_api-1.3.4/lib/python3.11/site-packages/funkwhale_api/", line 30, in main
  File "/nix/store/6img1vdfxcv5fy7h0byzv44glv1zhryw-python3.11-django-3.2.23/lib/python3.11/site-packages/django/core/management/", line 419, in execute_from_command_line
  File "/nix/store/6img1vdfxcv5fy7h0byzv44glv1zhryw-python3.11-django-3.2.23/lib/python3.11/site-packages/django/core/management/", line 395, in execute
  File "/nix/store/6img1vdfxcv5fy7h0byzv44glv1zhryw-python3.11-django-3.2.23/lib/python3.11/site-packages/django/", line 24, in setup
  File "/nix/store/6img1vdfxcv5fy7h0byzv44glv1zhryw-python3.11-django-3.2.23/lib/python3.11/site-packages/django/apps/", line 122, in populate
  File "/nix/store/qdgw1q7wp6f209bykxan2kd4p3nqxahl-python3.11-django-allauth-0.57.0/lib/python3.11/site-packages/allauth/account/", line 15, in ready
    raise ImproperlyConfigured(
django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE

hence why I would like to update the packages, thanks in advance

Please avoid merging the base branch into your feature branch. We are working with rebases and those merged tend to cause trouble. For further questions, join us at Matrix:

If your contribution is fixing an issue by a small change, please consider a merge into stable by using it as target branch.

Related issue: #XXX

This Merge Request includes:

Merge request reports