Iridescent-CM / attendance

A stupid simple app for program attendance-taking
1 stars 1 forks source link

Single Person model and more #19

Closed stenington closed 9 years ago

stenington commented 9 years ago

This PR substantially changes the organization of the app from ParentGuardian & Student models to a single Person model with Type and Subtypes. It seemed like bringing this closer to keytag's data model might make life easier for the time being, so types and subtypes come straight from there and are configurable in the DB.

This PR also tries to improve the columns on each model's listing screen, and adds more info to various __str__ methods like adding ids and keytags to Person.__str__ which hopefully helps in selecting attendees in Sessions. I'm worried it decreases overall readability, but maybe it's fine or we can do some fancier text formatting or something.

stenington commented 9 years ago

Opening PR for posterity but not expecting any actual review before deploying and demoing with the team.