lukaszb/django-guardian — pull request #266 by zauddelig (2014-10-08 10:25:19+00:00)
Title:  PermissionRequiredMixin: configurability

The check_permissions() method was using object, that is okay, but in case the ability to do something on a model rely on possessing some permission on another model that would result hard to deal with.
I think it's better to have another method to retrieve the permission object so that changing this behavior would not require the complete creation of another children mixin with the copy-paste of check_permission method