mirror of https://github.com/django/django.git
Fixed #4611 -- Removed "new in development version" annotation for the permission_required decorator. It was in 0.96. Thanks, John Shaffer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
537b16ca97
commit
aca2761faf
|
@ -675,8 +675,6 @@ Example in Python 2.4 syntax::
|
|||
The permission_required decorator
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
**New in Django development version**
|
||||
|
||||
It's a relatively common task to check whether a user has a particular
|
||||
permission. For that reason, Django provides a shortcut for that case: the
|
||||
``permission_required()`` decorator. Using this decorator, the earlier example
|
||||
|
|
Loading…
Reference in New Issue