I have 3 models. Rhyme, CommunityRhyme, and AssortedRhymes.

Rhyme(s) are collected by a bot.

CommunityRhyme(s) are rhymes added by the community.

AssortedRhymes contains a ManyToManyField that references only the Rhyme model.

How can I make it so that Rhyme and CommunityRhyme are of the same "type" so that the AssortedRhymes ManyToManyField that references the Rhyme model can also reference (add) CommunityRhymes?

Thank you in advance

I deleted the CommunityRhyme model and added a "is_community" Boolean field to Rhyme.

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.