From 97dfc30f5b97536fff0bc3cb2c9e34d0edf26f19 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 16 Nov 2017 10:37:50 -0500 Subject: [PATCH] [1.8.x] Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt. Backport of d392fc293c9439c19451e152f9560f24d1659563 from master --- docs/releases/1.8.txt | 2 +- docs/topics/auth/default.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/releases/1.8.txt b/docs/releases/1.8.txt index a8a466f845..4c342f863d 100644 --- a/docs/releases/1.8.txt +++ b/docs/releases/1.8.txt @@ -198,7 +198,7 @@ Minor features and :meth:`~django.contrib.auth.models.User.has_module_perms` to short-circuit permission checking. * :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. * The ``max_length`` of :attr:`Permission.name diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 72f838e771..2ced0d4813 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -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 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