Fixed #14390 and #16262 -- Moved password related functions from auth models to utils module and stopped check_password from throwing an exception. Thanks, subsume and lrekucki.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16456 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Jannis Leidel 2011-06-26 16:51:46 +00:00
parent 2619dc8285
commit 4a10338986
6 changed files with 143 additions and 70 deletions

View file

@ -192,6 +192,11 @@ Django 1.4 also includes several smaller improvements worth noting:
* In the documentation, a helpful :doc:`security overview </topics/security>`
page.
* Function :func:`django.contrib.auth.models.check_password` has been moved
to the :mod:`django.contrib.auth.utils` module. Importing it from the old
location will still work, but you should update your imports.
.. _backwards-incompatible-changes-1.4:
Backwards incompatible changes in 1.4