Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single Person model and more #19

Merged
merged 1 commit into from
Mar 2, 2015
Merged

Conversation

stenington
Copy link
Contributor

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.

  migration from zero (old app will not migrate)
  type and subtype added
  additional search additions, __str__ tweaks, column tweaks
@stenington
Copy link
Contributor Author

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

stenington added a commit that referenced this pull request Mar 2, 2015
@stenington stenington merged commit 0daee01 into master Mar 2, 2015
@stenington stenington deleted the single-person-model-plus-misc branch March 2, 2015 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant