Fixed typo in docs/ref/contrib/admin/index.txt.

This commit is contained in:
Pēteris Caune 2021-07-27 13:57:04 +03:00 committed by Mariusz Felisiak
parent 033636286a
commit c258918a03
1 changed files with 1 additions and 1 deletions

View File

@ -3459,7 +3459,7 @@ The ``staff_member_required`` decorator
.. function:: staff_member_required(redirect_field_name='next', login_url='admin:login') .. function:: staff_member_required(redirect_field_name='next', login_url='admin:login')
This decorator is used on the admin views that require authorization. A This decorator is used on the admin views that require authorization. A
view decorated with this function will having the following behavior: view decorated with this function will have the following behavior:
* If the user is logged in, is a staff member (``User.is_staff=True``), and * If the user is logged in, is a staff member (``User.is_staff=True``), and
is active (``User.is_active=True``), execute the view normally. is active (``User.is_active=True``), execute the view normally.