mirror of https://github.com/django/django.git
[3.2.x] Fixed typo in docs/ref/contrib/admin/index.txt.
Backport of c258918a03
from main
This commit is contained in:
parent
aace6c531d
commit
5fa70c91b4
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue