Django

Code

Ticket #4611: authentication.diff

File authentication.diff, 0.5 kB (added by John Shaffer <jshaffer2112@gmail.com>, 1 year ago)

Remove "new in development version".

  • docs/authentication.txt

    old new  
    661661The permission_required decorator 
    662662~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
    663663 
    664 **New in Django development version** 
    665  
    666664It's a relatively common task to check whether a user has a particular 
    667665permission. For that reason, Django provides a shortcut for that case: the 
    668666``permission_required()`` decorator. Using this decorator, the earlier example