13 Commits

Author SHA1 Message Date
ef05a6523d Apply ruff formatting and fix unused import linting errors
Remove unused imports flagged by ruff (F401), apply ruff format across all
files, and restore members.signals side-effect import with noqa: F401 so the
post_save signal that auto-creates Member profiles continues to fire.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-05 08:55:28 +02:00
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
b71bc2afc0 Add bulk member upload functionality: implement MemberLoadView, update routes, templates, and create MassUploadForm for CSV uploads. 2026-04-12 12:10:02 +02:00
a846754440 Add notes field to Member model with migration. 2026-03-31 14:19:45 +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
cb10c8ccf5 Update user__is_active filter choices to improve clarity in filter options 2026-01-17 21:32:40 +01:00
b885bf6da5 Activate member deletion functionality: implement MemberDeleteView with HTMX integration, add is_active filter, update member filter template, and refine related styles. 2026-01-11 22:04:34 +01:00
26155de246 Implement avatar rendering logic: add custom tags, template, and styles; update base.html integration and revamp member filter and list designs. 2026-01-10 22:59:11 +01:00
40ddab4627 Extend members app: add filtering with django-filter, MemberFilter class, and initial view setup. Update URLs, templates, and dependencies for integration. 2026-01-04 23:24:53 +01:00
666ec88165 Extend members app: add user signals for automatic Member profile creation, tests for Member behavior, and updated authentication backends 2026-01-04 22:53:00 +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