'Store a newly created object and request during which it was created'

def process_created_object(self, request, sender, instance, created, **kwargs):

    if (isinstance(instance, Object) and created and (not instance.is_attached())):
        self.objects.update({unicode(instance.id): {'object': instance, 'request': request}})
