This PR combines two small features that both pertain to the Person model.
Person has been renamed to Agent and now has an is_group boolean field. Groups cannot have dates of birth/death associated with them. A new gender option 'mixed' has been added that only applies to groups.
Occupation has been renamed to SocialStatus and Office has been renamed to more abstract StatusMarker. This took three migrations in the end(!). A less gradual approach leads Python to think the new models are completely different. It will then delete the old models and create new ones in their stead, deleting all data in the process.
Closes #12, closes #19
This PR combines two small features that both pertain to the
Person
model.Person
has been renamed toAgent
and now has anis_group
boolean field. Groups cannot have dates of birth/death associated with them. A new gender option 'mixed' has been added that only applies to groups.Occupation
has been renamed toSocialStatus
andOffice
has been renamed to more abstractStatusMarker
. This took three migrations in the end(!). A less gradual approach leads Python to think the new models are completely different. It will then delete the old models and create new ones in their stead, deleting all data in the process.