diff options
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/releases/1.9.txt | 6 | ||||
| -rw-r--r-- | docs/topics/auth/customizing.txt | 10 |
2 files changed, 16 insertions, 0 deletions
diff --git a/docs/releases/1.9.txt b/docs/releases/1.9.txt index cceb0611b5..513177fff2 100644 --- a/docs/releases/1.9.txt +++ b/docs/releases/1.9.txt @@ -59,6 +59,12 @@ Minor features * The ``BCryptSHA256PasswordHasher`` will now update passwords if its ``rounds`` attribute is changed. +* ``AbstractBaseUser`` and ``BaseUserManager`` were moved to a new + ``django.contrib.auth.base_user`` module so that they can be imported without + including ``django.contrib.auth`` in :setting:`INSTALLED_APPS` (this raised + a deprecation warning in older versions and is no longer supported in + Django 1.9). + :mod:`django.contrib.gis` ^^^^^^^^^^^^^^^^^^^^^^^^^^ diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt index cc7a326c23..9ca2e72b2d 100644 --- a/docs/topics/auth/customizing.txt +++ b/docs/topics/auth/customizing.txt @@ -586,6 +586,16 @@ password resets. You must then provide some key implementation details: identifies the user in an informal way. It may also return the same value as :meth:`django.contrib.auth.models.User.get_full_name()`. + .. admonition:: Importing ``AbstractBaseUser`` + + .. versionadded:: 1.9 + + ``AbstractBaseUser`` and ``BaseUserManager`` are importable from + ``django.contrib.auth.base_user`` so that they can be imported without + including ``django.contrib.auth`` in :setting:`INSTALLED_APPS` (this + raised a deprecation warning in older versions and is no longer + supported in Django 1.9). + The following methods are available on any subclass of :class:`~django.contrib.auth.models.AbstractBaseUser`: |
