Backward incompatible change: now the 'invitation_key' var passed to 'invitation_email.txt' context (from InvitationKey.send_to) is an InvitationKey instance and not the key string in itself anymore. It allows you to retrieve other attributes from the instance (e.g. from_user).
Backward incompatible change: now the 'invitation_key' var passed to 'invitation_email.txt' context (from InvitationKey.send_to) is an InvitationKey instance and not the key string in itself anymore. It allows you to retrieve other attributes from the instance (e.g. from_user).

You'll probably need to replace {{ invitation_key }} by {{ invitation_key.key }} in your 'invitation_email.txt' template. Note that invitation_key var is now available to construct the subject of the email too.

deschler/django-invitation,mgaitan/django-invitation,noderabbit-team/django-invitation,mgaitan/django-invitation,adieu/django-invitation,arctelix/django-invitation,arctelix/django-invitation,mentionllc/django-invitation,ruiwen/django-invitation,lubosz/django-invitation,jannon/django-invitation,jannon/django-invitation