Another likely easy answer, but if I have a data structure called x.y that represents a many-to-many relationship, is there an easy way — within the context of a django template — to query x.y.all (or whatever) for a specific field, or do I need to set up a for loop?
Share
I’m afraid that there’s not really a better way to do it.
You could write a custom template tag if it was really arduous or something, but this
is probably what you’re looking for.