summaryrefslogtreecommitdiff
path: root/django/contrib/auth/tests/basic.py
AgeCommit message (Collapse)Author
2011-12-23Renovated password hashing. Many thanks to Justine Tunney for help with the ↵Paul McMillan
initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17253 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Fixed #16363 -- Fixed tests introduced in r16472. Thanks, EnTeQuAk.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-28Make the email parameter of User.objects.create_user optional.Chris Beaven
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-26Fixed #14390 and #16262 -- Moved password related functions from auth models ↵Jannis Leidel
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
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-22Fixed #15371 -- Ensure that a superuser created with the createsuperuser ↵Russell Keith-Magee
management command with --noinput has an invalid password, not a blank password. Thanks to yishaibeeri for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-09Fixed #14354 -- Normalized the handling of empty/null passwords in ↵Russell Keith-Magee
contrib.auth. This also updates the createsuperuser command to be more testable, and migrates some auth doctests. Thanks to berryp for the report, and Laurent Luce for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-21Fixed #13569 -- Fixed createsuperuser management command to work with the ↵Jannis Leidel
new relaxed requirements for usernames. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-04-05Fixed a sloppy test auth test. [10400] revealed that the auth test was ↵Jacob Kaplan-Moss
relying on the weird difference between calling a management from the shell and from `call_command`. That this worked in the first case was pretty much an accident. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-03-30Fixed #8140 -- Made `UserManager.create_superuser` return the new `User` ↵Gary Wilson Jr
object, based on patch from ericholscher. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-31Fixed #7723 - implemented a secure password reset form that uses a token and ↵Luke Plant
prompts user for new password. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8162 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-07-18Merged the newforms-admin branch into trunk.Brian Rosner
This is a backward incompatible change. The admin contrib app has been refactored. The newforms module has several improvements including FormSets and Media definitions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7967 bcc190cf-cafb-0310-a4f2-bffc1f526a37