mirror of
https://github.com/django/django.git
synced 2025-07-22 18:49:25 +00:00
[1.8.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.
Backport of d392fc293c9439c19451e152f9560f24d1659563 from master
This commit is contained in:
parent
e3cf8d2e94
commit
97dfc30f5b
@ -198,7 +198,7 @@ Minor features
|
|||||||
and :meth:`~django.contrib.auth.models.User.has_module_perms`
|
and :meth:`~django.contrib.auth.models.User.has_module_perms`
|
||||||
to short-circuit permission checking.
|
to short-circuit permission checking.
|
||||||
* :class:`~django.contrib.auth.forms.PasswordResetForm` now
|
* :class:`~django.contrib.auth.forms.PasswordResetForm` now
|
||||||
has a method :meth:`~django.contrib.auth.forms.PasswordResetForm.send_email`
|
has a method :meth:`~django.contrib.auth.forms.PasswordResetForm.send_mail`
|
||||||
that can be overridden to customize the mail to be sent.
|
that can be overridden to customize the mail to be sent.
|
||||||
|
|
||||||
* The ``max_length`` of :attr:`Permission.name
|
* The ``max_length`` of :attr:`Permission.name
|
||||||
|
@ -1315,7 +1315,7 @@ provides several built-in forms located in :mod:`django.contrib.auth.forms`:
|
|||||||
A form for generating and emailing a one-time use link to reset a
|
A form for generating and emailing a one-time use link to reset a
|
||||||
user's password.
|
user's password.
|
||||||
|
|
||||||
.. method:: send_email(subject_template_name, email_template_name, context, from_email, to_email, html_email_template_name=None)
|
.. method:: send_mail(subject_template_name, email_template_name, context, from_email, to_email, html_email_template_name=None)
|
||||||
|
|
||||||
.. versionadded:: 1.8
|
.. versionadded:: 1.8
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user