code: def save(self, *args, **kwargs):
          if not self.target:
              self.target = str(self.content_object)
          if not self.actor_name:
              self.actor_name = str(self.actor)
          super(Activity, self).save()