mirror of
https://github.com/django/django.git
synced 2025-08-04 19:08:28 +00:00
Removed self from method signatures in docs.
This commit is contained in:
parent
875aebdb2c
commit
757aefc12b
5 changed files with 6 additions and 6 deletions
|
@ -545,7 +545,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``.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue