django-invitations
django-invitations copied to clipboard
Override InvitationAdapter
I want to override InvitationAdapter
Add get AttributeError: 'BaseInvitationsAdapter' object has no attribute 'get_user_signed_up_signal'
i think in the simple authentication there is no signup signal, you can use login a user and than add after login signal
For my particular case, I have created an "accounts" app where I put all my accounts related files. In the __init__.py
for the app, I put the following delightful monkey patch 🙉
from invitations import adapters
def new_get_invitations_adapter():
from allauth.account.adapter import get_adapter
return get_adapter()
adapters.get_invitations_adapter = new_get_invitations_adapter
Relates to #157