mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[1.11.x] Removed self from method signatures in docs.
Backport of 757aefc12b from master
This commit is contained in:
committed by
Tim Graham
parent
8d5bccfe76
commit
d8039dfb0a
@@ -571,7 +571,7 @@ The following backends are available in :mod:`django.contrib.auth.backends`:
|
||||
permission string ``perm``. Returns ``False`` if the user is not
|
||||
:attr:`~django.contrib.auth.models.CustomUser.is_active`.
|
||||
|
||||
.. method:: has_module_perms(self, user_obj, app_label)
|
||||
.. method:: has_module_perms(user_obj, app_label)
|
||||
|
||||
Returns whether the ``user_obj`` has any permissions on the app
|
||||
``app_label``.
|
||||
|
||||
Reference in New Issue
Block a user