1
0
mirror of https://github.com/django/django.git synced 2025-07-04 09:49:12 +00:00

[3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.

Backport of c258918a03532e5381818e20866266545edb5206 from main
This commit is contained in:
Pēteris Caune 2021-07-27 13:57:04 +03:00 committed by Mariusz Felisiak
parent aace6c531d
commit 5fa70c91b4

View File

@ -3447,7 +3447,7 @@ The ``staff_member_required`` decorator
.. function:: staff_member_required(redirect_field_name='next', login_url='admin:login')
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
is active (``User.is_active=True``), execute the view normally.