Задать вопрос

Тел: +7 965 3737 888

434

Просмотров

0

Ответов

Reset / Send account details email

<p>I needed to create a feature for administrators to create accounts and email the <em>new account was created</em> email using a button. Remember to change the default template and subject to match your needs.</p>
<p>The code is directly taken from django.contrib.auth.forms.PasswordResetForm.save().</p>
<p>Notice that the function raises ValueError if the user is missing an email address.</p>

Вопрос полезен? Да0/Нет0
file_5184.py(1.3Кб)
None