Add the management app: club-facing UI + real fee-payment tracking
Gives clubs a self-service /manage/ area for members, families, teams, roles, and season memberships, alongside real fee-payment tracking (FeePayment, record_payment/mark_as_paid/remaining_balance) so a membership's paid status reflects actual money received instead of a single manually-set flag.
This commit is contained in:
@@ -73,6 +73,9 @@ INSTALLED_APPS = [
|
||||
"waffle",
|
||||
"features.apps.FeaturesConfig",
|
||||
"controlpanel.apps.ControlpanelConfig",
|
||||
# Club-facing UI for team managers, coaches and admins -- not controlpanel (platform
|
||||
# staff managing every club) and not the future parent/player app.
|
||||
"management.apps.ManagementConfig",
|
||||
]
|
||||
|
||||
# Feature flags (django-waffle). The Flag model is swappable, like AUTH_USER_MODEL:
|
||||
@@ -183,6 +186,9 @@ TEMPLATES = [
|
||||
"django.contrib.messages.context_processors.messages",
|
||||
"club.context_processors.branding",
|
||||
"features.context_processors.maintenance",
|
||||
"management.context_processors.is_admin",
|
||||
"management.context_processors.management_link",
|
||||
"management.context_processors.active_nav_section",
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -24,6 +24,7 @@ urlpatterns = [
|
||||
path("admin/", admin.site.urls),
|
||||
path("accounts/", include("allauth.urls")),
|
||||
path("controlpanel/", include("controlpanel.urls")),
|
||||
path("manage/", include("management.urls")),
|
||||
# "/" resolves per tenant: a club subdomain lands on the club, the base domain
|
||||
# hands off to the control panel. This is why LOGIN_REDIRECT_URL can stay "/".
|
||||
path("", root, name="root"),
|
||||
|
||||
Reference in New Issue
Block a user