lukaszb/django-guardian — pull request #109 by ghinch (2013-01-25 23:47:07+00:00)
Title: Defined view mixin properties required for "get_object()"

Calling get_object() when checking view permissions via the PermissionRequiredMixin was missing a few properties that getting the object requires, which are normally set in the base View dispatch method. As that method doesn't get called unless the permission check passes, we need to set them ourselves first