(Django) How to reference through multiple layers of relationships?
问题 The following is for a creative writing app. All aspects (characters, scenes, projects etc.) are recorded in the same model to allow for a simple sidebar directory. Each have extension models to add specific fields, so when an element is selected in the sidebar, the extension model is loaded as a form on the right. Extension model additional fields and universe model excluded for clarity. The problem is, I'm really stuck with restricting choices on a specific ManytoMany field. MODELS.PY class