Skip to content
Commit 56e1cdc8 authored by Gary Wilson Jr's avatar Gary Wilson Jr
Browse files

Fixed a long and complex line by breaking into a for loop, with the added...

Fixed a long and complex line by breaking into a for loop, with the added benefit that the method will now exit as soon as a matching 
permission is found instead of checking all of the user's permissions and putting them into a temporary list.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@7823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent 73dfef87
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment