diff options
author | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-04 12:29:31 +0200 |
---|---|---|
committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-05-13 09:07:51 +0200 |
commit | 4c5236ef93db714b63eedcc5a162631a6ca1def9 (patch) | |
tree | d82b7fc2f36909b2bf05b0aa45a5c30792d812ad /docs/ref/contrib/auth.txt | |
parent | 3b94f12462d262a812930cf25efe8d8eb07c5c83 (diff) | |
download | django-4c5236ef93db714b63eedcc5a162631a6ca1def9.tar.gz |
Removed versionadded/changed annotations for 3.0.
Diffstat (limited to 'docs/ref/contrib/auth.txt')
-rw-r--r-- | docs/ref/contrib/auth.txt | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/ref/contrib/auth.txt b/docs/ref/contrib/auth.txt index 4d50fd123a..de2a2321ba 100644 --- a/docs/ref/contrib/auth.txt +++ b/docs/ref/contrib/auth.txt @@ -194,8 +194,6 @@ Methods .. method:: get_user_permissions(obj=None) - .. versionadded:: 3.0 - Returns a set of permission strings that the user has directly. If ``obj`` is passed in, only returns the user permissions for this @@ -288,14 +286,8 @@ Manager methods Same as :meth:`create_user`, but sets :attr:`~models.User.is_staff` and :attr:`~models.User.is_superuser` to ``True``. - .. versionchanged:: 3.0 - - The ``email`` and ``password`` parameters were made optional. - .. method:: with_perm(perm, is_active=True, include_superusers=True, backend=None, obj=None) - .. versionadded:: 3.0 - Returns users that have the given permission ``perm`` either in the ``"<app label>.<permission codename>"`` format or as a :class:`~django.contrib.auth.models.Permission` instance. Returns an @@ -499,8 +491,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`: .. class:: BaseBackend - .. versionadded:: 3.0 - A base class that provides default implementations for all required methods. By default, it will reject any user and provide no permissions. @@ -603,8 +593,6 @@ The following backends are available in :mod:`django.contrib.auth.backends`: .. method:: with_perm(perm, is_active=True, include_superusers=True, obj=None) - .. versionadded:: 3.0 - Returns all active users who have the permission ``perm`` either in the form of ``"<app label>.<permission codename>"`` or a :class:`~django.contrib.auth.models.Permission` instance. Returns an |