diff options
| author | SusanTan <onceuponatimeforever@gmail.com> | 2013-08-10 01:13:41 -0700 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-08-14 07:46:11 -0400 |
| commit | 71c491972eecae8783cf46e69fac7e5f9f83fc59 (patch) | |
| tree | 25ef048d6b7a3134e6f480dc2484df5b5a052deb /docs/ref | |
| parent | 4eeb8ec147022d3a7360d9fa78d3cd1c76accfb1 (diff) | |
Fixed #11400 -- Passed kwargs from AbstractUser.email_user() to send_mail()
Thanks Jug_ for suggestion, john_scott for the initial patch,
and Tim Graham for code review.
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/contrib/auth.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 4fe87e9872..ba4c9425a5 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -215,11 +215,16 @@ Methods (the Django app label). If the user is inactive, this method will always return ``False``. - .. method:: email_user(subject, message, from_email=None) + .. method:: email_user(subject, message, from_email=None, **kwargs) Sends an email to the user. If ``from_email`` is ``None``, Django uses the :setting:`DEFAULT_FROM_EMAIL`. + .. versionchanged:: 1.7 + + Any ``**kwargs`` are passed to the underlying + :meth:`~django.core.mail.send_mail()` call. + Manager methods --------------- |
