1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Added a password reset link to default admin login page if a password reset URL is available.

You no longer have to override the admin login page just to get that link to
appear!

Also provided much better docs for how to plug in the provided password
reset mechanism with minimum effort.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant
2011-12-24 00:14:45 +00:00
parent 14ba0df3d0
commit 1c16907199
4 changed files with 43 additions and 0 deletions

View File

@@ -546,6 +546,11 @@ Django 1.4 also includes several smaller improvements worth noting:
For more details, see the documentation for
:meth:`~django.db.models.query.QuerySet.distinct`.
* The admin login page will add a password reset link if you include a URL with
the name `'admin_password_reset'` in your urls.py, so plugging in the builtin
password reset mechanism and making it available is now much easier. For
details, see :ref:`auth_password_reset`.
Backwards incompatible changes in 1.4
=====================================