One-to-many relationship in django models (Relation of one Model with another two Models)

I want to save all the likes in a Like Table.

Likes of both Comments and Post, in one table.

Is their something like this to achieve this thing:

Class Post:
   ...

Class Comment:
   ...

Class Like(models.Model):
   '''Either of Post or Comment will have to be selected in this field'''
   post_or_comment = models.Something((Post, Comment), on_delete=models.CASCADE)