Commit f1e8d24e authored by Russell Keith-Magee's avatar Russell Keith-Magee
Browse files

Fixed #10030 -- Corrected a typo in a reference to the login_required...

Fixed #10030 -- Corrected a typo in a reference to the login_required decorator. Thanks to mk for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9860 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent b1d487e0
Loading
Loading
Loading
Loading
+47 −47
Original line number Diff line number Diff line
@@ -1188,7 +1188,7 @@ members can access them. If you add your own views to either a ``ModelAdmin``
or ``AdminSite`` you should ensure that where necessary they are protected in
the same manner.  To do this use the ``admin_perm_test`` decorator provided in
``django.contrib.admin.utils.admin_perm_test``.  It can be used in the same way
as the ``login_requied`` decorator.
as the ``login_required`` decorator.

.. note::
    The ``admin_perm_test`` decorator can only be used on methods which are on