Commit Graph

5 Commits

Author SHA1 Message Date
6c0115d4a2 Add Team/TeamRole/TeamMembership/TeamPicture models and fix two test bugs
- Fix Member.create(): post_save signal creates Member immediately on User creation,
  so new users always hit the hasattr branch; check `created` flag to set initial
  password and notes for genuinely new users
- Fix Season.for_date(): replace get() with filter().order_by("-start_date").first()
  to handle overlapping seasons gracefully and raise DoesNotExist when none match
- Add TeamRole, Team, TeamMembership, TeamPicture models with rules permissions
- Add migration 0002 for new models
- Add test suites for members and teams covering all new model behaviour

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 08:53:05 +02:00
303b8553c9 Enable member creation functionality: implement MemberAddView, create MemberForm, update routes, templates, and add supporting styles. 2026-01-17 23:38:12 +01:00
769f18dac8 Extend members app: add fields to Member model, update migrations, and configure admin display 2026-01-04 22:42:54 +01:00
a38a813865 Set up members app with models, migrations, permissions, and rules integration; updated dependencies and settings 2026-01-03 13:00:06 +01:00
63ad906557 Set up members app with initial structure and registered it in settings 2026-01-03 12:46:57 +01:00