1👍
✅
Add something which will indicate which poll is associated to which model. You can use ForeignKey
, ManyToManyField
, GenericForeignKey
, OneToOneField
, etc and then use that indicator to get poll/s associated to post/s .
Source:stackexchange.com