leaguemanager.models.baseline.competition.organization

Module Contents

Classes

Organization

Defines the parent organization that administers competition(s).

Data

organization

API

class leaguemanager.models.baseline.competition.organization.Organization

Bases: leaguemanager.models.base.GoverningBodyBase

Defines the parent organization that administers competition(s).

This is the top-level object that defines the organization responsible for the rules and management of leagues and/or competitions. Generally will have CompetitionBase children to describe what kind of competition is being administered.

Attributes: id (UUID): Inherited from UUIDAuditBase org_type (str): Type of organization (i.e., amateur, youth, etc…). Inherited from GoverningBodyBase. name (str): Descriptive name. (i.e., Coed Hockey League, Flag Football at the Park, etc…) description (str): Optional description of the league. slug (str): Unique slug for the organization, used in URLs and identifiers. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase

name: str | None

‘field(…)’

description: str | None

‘field(…)’

slug: str | None

‘field(…)’

leaguemanager.models.baseline.competition.organization.organization

‘Table(…)’