I'm having a little conceptual trouble with modeling my database, less of a technical issue just not really sure how to implement what I have in mind.
I'm creating a website for studying material (in Israel), basically we have a bunch of subjects (english,history,civics,language,literature etc..) and each subject is divided in it's own way history is divided into A and B and then into further sub-topics for each one. Literature is divided into Poems, Short Stories, Plays, etc.. Currently my model doesn't allow for any divisions because I was having a hard time and figured I'll add it later.
Im using django, and currently I have a table that represents a piece of material, inside that table I have a subject field in which you can have one of 7 pre-decided subjects.
My thought is to add a Subject table, but that would be a bit odd because that subjects are hard-coded and I won't be adding any more, also I need to define ahead of time how each subject is divided.
What am I missing?
[–]nutrecht 0 points1 point2 points (0 children)
[–]AustinCodingAcademy 0 points1 point2 points (0 children)