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

Create initial member models #5

Open
tyndyll opened this issue Nov 11, 2017 · 0 comments
Open

Create initial member models #5

tyndyll opened this issue Nov 11, 2017 · 0 comments
Labels
Milestone

Comments

@tyndyll
Copy link
Contributor

tyndyll commented Nov 11, 2017

Create a new app called membership and create two initial models

  • Member - representation of a member, using the Django user model as a ForeignKey (see Django Docs for more info)
  • Group - a group within the organisation. These are not used for permissions, but rather for members to self select themselves for e.g. communications send from that group

NOTE: for the member model the on_delete option should be set to PROTECT to keep track of previous transactions

Definition of Done

  • Models and migrations created
  • str function and test created for models
  • Models added to admin.py
  • App added to settings.py
@tyndyll tyndyll added this to the poc milestone Nov 11, 2017
@tyndyll tyndyll added the server label Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant