Skip to content
This repository has been archived by the owner on Jan 10, 2020. It is now read-only.

Added initial migration for the old old system. #5

Closed
wants to merge 5 commits into from

Conversation

fishbacon
Copy link
Contributor

Test pull request please ignore.

I added a Member object not dissimmilar to the one in 3.4.5 (or w/e)
however it has fewer fields:
 * want_spam is gone, it should apparently not be used.
 * year was replaced by join_date
 * undo_count has stopped being useful
 * balance should probably be a cached calculation rather than a field
 * gender was never used for anything useful
 * notes is replaced by note to follow django naming conventions
 * firstname/lastname are supplanted by name (simpler)

New fields include pin and phone number, they are used for unique
identification of members in situations like payment or sale.

The two new fields also allow some more complex behaviour, e.g. removing
formatting in phone number input or ensuring that pin is not saved as
plain text but as a hash.

Two validation functions were added, they do simple validation of pin
and phone number.

Phone number related computation could be moved out of Member since they
could be useful to other systems.
@HenrikOssipoff
Copy link
Contributor

To confirm, I should close this PR?

@fishbacon fishbacon closed this Feb 24, 2015
@fishbacon
Copy link
Contributor Author

No I did.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants