preferred_name = models.CharField(max_lengths=100)

def delete(self, *args, **kwargs):
    self.user.delete()
super(UserProfile, self).delete(*args, **kwargs)
Delete related models with Django Rest Framework API