summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2010-03-01 20:32:55 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2010-03-01 20:32:55 +0000
commit34a3b7b6fd288ce2e498b20506d16db84bd7c68b (patch)
tree5f615d4bed2cf71f08fc3fd578966fe043710bfc /docs
parentac72c8d1d34e3c5f12236a669291d0cbe23a146a (diff)
[1.1.X] Fixed #5605: only lowercase the domain portion of an email address in `UserManager.create_user`.
Thanks, Leo. Backport of [12641] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.1.X@12642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth.txt14
1 files changed, 10 insertions, 4 deletions
diff --git a/docs/topics/auth.txt b/docs/topics/auth.txt
index dd1bffd66d..3a0cd5de2e 100644
--- a/docs/topics/auth.txt
+++ b/docs/topics/auth.txt
@@ -23,6 +23,9 @@ The auth system consists of:
user.
* Messages: A simple way to queue messages for given users.
+.. deprecated:: 1.2
+ The Messages component of the auth system will be removed in Django 1.4.
+
Installation
============
@@ -261,10 +264,13 @@ Manager functions
.. method:: models.UserManager.create_user(username, email, password=None)
Creates, saves and returns a :class:`~django.contrib.auth.models.User`.
- The :attr:`~django.contrib.auth.models.User.username`,
- :attr:`~django.contrib.auth.models.User.email` and
- :attr:`~django.contrib.auth.models.User.password` are set as given, and
- the :class:`~django.contrib.auth.models.User` gets ``is_active=True``.
+
+ The :attr:`~django.contrib.auth.models.User.username` and
+ :attr:`~django.contrib.auth.models.User.password` are set as given. The
+ domain portion of :attr:`~django.contrib.auth.models.User.email` is
+ automatically convered to lowercase, and the returned
+ :class:`~django.contrib.auth.models.User` object will have
+ :attr:`~models.User.is_active` set to ``True``.
If no password is provided,
:meth:`~django.contrib.auth.models.User.set_unusable_password()` will