From b6b1ab22b59e2797ec74611aac820dc5bc25a9df Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Mon, 18 Jun 2007 10:02:58 +0000 Subject: [PATCH] Updated documentation for User.objects.make_random_password, fixing punctuation at the same time. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5490 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/authentication.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/authentication.txt b/docs/authentication.txt index 12b61db538..972ca42073 100644 --- a/docs/authentication.txt +++ b/docs/authentication.txt @@ -161,8 +161,8 @@ The ``User`` model has a custom manager that has the following helper functions: * ``make_random_password(length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')`` Returns a random password with the given length and given string of allowed characters. (Note that the default value of ``allowed_chars`` - doesn't contain ``"I"`` or letters that look like it, to avoid user - confusion. + doesn't contain letters that can cause user confusion, including + ``1``, ``I`` and ``0``). Basic usage -----------