Refactor accounts app into authentication and club apps

- Split the accounts app into new authentication and club apps for better separation of concerns.
- Migrate the custom User, Member, and Family models to the authentication app.
- Introduce Club and ClubMembership models in the club app.
- Refactor Family model to use UUID as the primary key and consolidate family-role relationships into a new FamilyMembership model.
- Update tests, managers, and migrations to align with the new structure.
This commit is contained in:
2026-07-02 09:40:06 +02:00
parent aa2c6329b9
commit 8f71bb74c0
23 changed files with 473 additions and 326 deletions

5
club/apps.py Normal file
View File

@@ -0,0 +1,5 @@
from django.apps import AppConfig
class ClubConfig(AppConfig):
name = 'club'