iMerica / dj-rest-auth

Authentication for Django Rest Framework
https://dj-rest-auth.readthedocs.io/en/latest/index.html
MIT License
1.62k stars 302 forks source link

fix: broken demo - add allauth to middleware #585

Closed RaoulGeorge closed 3 months ago

RaoulGeorge commented 5 months ago

when the demo is run using python manage.py migrate --settings=demo.settings --noinput , the following exception is thrown:

django.core.exceptions.ImproperlyConfigured: allauth.account.middleware.AccountMiddleware must be added to settings.MIDDLEWARE

This PR adds allauth.account.middleware.AccountMiddleware to settings.py

iMerica commented 3 months ago

Fixed in #588