I want to save all the likes in a
Likes of both
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)