Closed Suaralanre closed 1 year ago
I am sorry, but ticket is not actionable -- the example config includes various other non-allauth apps. I would suggest you try and remove accounts
, dj_rest_auth
and so on so that you have basic allauth going, and then gradually extend from there.
I have the same problem, here is part from my settings file:
THIRD_PARTY_APPS = [ 'rest_framework', 'rest_framework.authtoken', 'twilio', 'django_filters', 'bootstrapform', 'corsheaders', 'storages', 'sorl.thumbnail', 'sorl_thumbnail_serializer', 'imagekit', 'allauth', 'allauth.account', 'allauth.socialaccount', 'allauth.socialaccount.providers.facebook', 'rest_auth', 'rest_auth.registration', 'ckeditor', 'ckeditor_uploader', 'colorfield', 'gsheets', 'import_export', ]
@Suaralanre @taime see https://github.com/iMerica/dj-rest-auth/issues/534
I ran into this with Funkwhale (federated audio app). It uses dj_rest_auth
as well. It tries to imprt email_address_exists
from allauth.utils
and interprets the exception as "allauth
isn't in INSTALLED_APPS
", but the real problem is email_address_exists
was removed in 0.55.x.
I need to use django-allauth. I've installed it in my venv, added it to installed apps and done all the necessary things according to the installation instructions on the Documentation. On running
python manage.py migrate
, the last line of the traceback error comes back asImportError: allauth needs to be added to INSTALLED_APPS.
This is my settings.py in the relevant areasI tried checking the documentation, checked all the commas were put in the appropriate place. Looked for similar situations on reddit and stackoverflow but coudn't find anything along that line.