I'm pretty sure this code is valid. In queries, Django traverses relationships regardless of on which side the relationship is specified.