Every time when I try to update my user with the PATCH method to the /users/me/ endpoint, an activation email is always sent. The user is already active in the system... so I don't know what is happening.
SEND_ACTIVATION_EMAIL is True, but I understand that the email will be sent only after: creating an account or updating their email (I'm not updating the email)
DJOSER = {
....
'ACTIVATION_URL': 'auth/users/activation/{uid}/{token}',
'SEND_ACTIVATION_EMAIL': True,
....
}
patch
orput
requests to/auth/users/me/
endpoint and send activation email only whenemail
is updated and is not the same as the previous email.Files changed
part in the pull request and make the same changes in your project OR you can directly installdjoser
from its master branch to get the latest version (which has activation email fixed). Here is a question that may help: stackoverflow.com/questions/20101834/…