Explorar o código

Fixed #28802 -- Fixed typo in docs/topics/auth/default.txt.

Tim Graham %!s(int64=7) %!d(string=hai) anos
pai
achega
d392fc293c
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. 1 1
      docs/releases/1.8.txt
  2. 1 1
      docs/topics/auth/default.txt

+ 1 - 1
docs/releases/1.8.txt

@@ -200,7 +200,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

+ 1 - 1
docs/topics/auth/default.txt

@@ -1452,7 +1452,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)
 
         Uses the arguments to send an ``EmailMultiAlternatives``.
         Can be overridden to customize how the email is sent to the user.