Answer the question
In order to leave comments, you need to log in
How to display the elements to which the ManyToManyField field is bound?
There is an article with the field parents = models.ManyToManyField(Category), where Category is the category class to which the article belongs.
When outputting, {{ page.parents.name }} outputs app_name.Category.None (app_name is the application name).
How to get them out?
PS If there is not enough information - say what else to provide.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question