Due to a backwards-incompatible change in django-allauth's new v0.55.0, dj_rest_auth does not work with the newest version of allauth. django-allauth's v0.55.0 does NOT have a function "email_address_exists" in allauth/utils.py which is what is causing dj_rest_auth to throw an error in the first place.
How I reproduced:
In my Django project, I installed the latest versions of both allauth and dj-rest-auth with pip install django-allauth dj-rest-auth.
Add the appropriate apps inside INSTALLED_APPS. For reference, I added this to mine:
3. In one of my apps' `views.py`, I imported `from dj_rest_auth.registration.views import SocialLoginView`.
4. After running `py manage.py makemigrations` or `py manage.py runserver`, etc... I received
```bash
ImportError: allauth needs to be added to INSTALLED_APPS
I tried:
downgrading to django-allauth v0.54.0 and the error went away
The error comes from:
dj_rest_auth/registration/serializers.py
The expected output should be an errorless migration, but instead I cannot interact with any parts of my application
Due to a backwards-incompatible change in django-allauth's new v0.55.0, dj_rest_auth does not work with the newest version of allauth. django-allauth's v0.55.0 does NOT have a function "email_address_exists" in
allauth/utils.py
which is what is causing dj_rest_auth to throw an error in the first place.How I reproduced:
pip install django-allauth dj-rest-auth
.INSTALLED_APPS
. For reference, I added this to mine:'dj_rest_auth', 'dj_rest_auth.registration', ... ]
I tried:
The error comes from:
dj_rest_auth/registration/serializers.py
The expected output should be an errorless migration, but instead I cannot interact with any parts of my application
I created a minimal Django project with the same configurations and pip package versions that I tested above: https://github.com/brandon-kong/dj_rest_auth_issue