macropin / django-registration

Django-registration (redux) provides user registration functionality for Django websites.
http://django-registration-redux.readthedocs.org
Other
975 stars 350 forks source link

activate_user should send the user_activated signal #415

Closed w00kie closed 1 year ago

w00kie commented 3 years ago

Shouldn't the registration.models.RegistrationManager.activate_user send the user_activated signal? It would sure be helpful when writing my own unit tests...

Another think you might want to do is trigger a push to a contact management system (mailchimp, sendgrid or stripe for example) when a user is activated through the admin approval backend.

joshblum commented 3 years ago

The signal is sent in the ActivationView, see https://django-registration-redux.readthedocs.io/en/latest/signals.html