Django Multi-Table Inheritance VS Specifying Explicit OneToOne Relationship in Models

后端 未结 5 2065
萌比男神i
萌比男神i 2021-01-30 11:53

Hope all this makes sense :) I\'ll clarify via comments if necessary. Also, I am experimenting using bold text in this question, and will edit it out if I (or you) find it distr

5条回答
  •  遥遥无期
    2021-01-30 12:24

    Please consider what happens in the data model when a Coordinator gets promoted to a Principal. I would not use inheritance in this case at all. Please reconsider the previous poster's suggestion "Combining the built in group functionality with the user profile idea may do what you are looking for."

提交回复
热议问题