Implementation of per object permissions for Django 1.2+