[Fixed]-Django/Postgres: displaying distinct ManyToMany items

1👍

ManyToMany relationships can be followed backwards (specifically the section that starts “Reverse m2m queries are supported”)

Something like the following should work

Stuff.objects.filter(stufflist__bigthing=BigThing1).distinct()

Leave a comment