[Answer]-Django – Model structure suggestions for two classes referring to each other with ForeignKeys

1👍

Since you’re marking the instructors on the Member model, you don’t need to identify them with another relation on the School model. Instead, if you want to get the instructors, for a particular school you can just do:

instructors = Members.objects.filter(instructor=True, school=my_school)

Leave a comment