Open pythonwood opened 3 years ago
Let say you have this URL :
url('auth/registration/', include('dj_rest_auth.registration.urls')),
you will need to send a post request to this address
http://127.0.0.1:80/api/accounts/auth/registration/resend-email/
this part
/resend-email/ is hard coded, do not change it (unless you want to customize it) I use axios to send my requests here is an example : ´´´ axios .post(
${mainUrl}/api/accounts/auth/registration/resend-email/
, { email: 'myemail@email.com', }) .then((res) => { //do whatever you want after resending the email }) .catch((err) => console.log(err.response)); ´´´
https://github.com/pennersr/django-allauth/issues/946