leaguemanager.models.baseline.competition.season¶
Module Contents¶
Classes¶
Defines a competition type with a beginning and end, and usually has winner at the end. |
Data¶
API¶
- class leaguemanager.models.baseline.competition.season.Season¶
Bases:
leaguemanager.models.base.CompetitionBaseDefines a competition type with a beginning and end, and usually has winner at the end.
This is usually a child of a League object, with start and end dates. While the League is perpetual (recurring), a Season object tend to be finite (i.e., Spring Volleball 2025, Winter/Spring ‘26).
Attributes: id (UUID): Inherited from UUIDAuditBase league_id (UUID): ForeignKey to League. name (str): Descriptive name. (i.e, Fall Coed Soccer 2025, Summer Little League 2026) description (str): Optional description of the season details. # competition_type (str): Desginate the type of competition. Inherited from CompetitionBase. (NOT MAPPED) active (bool): Defaults to True. Can be used to deactivate this Season. projected_start_date (datetime): When the Season is projected to start. projected_end_date (datetime): When the Season is project to end. actual_start_date (datetime): When the Season actually begins. actual_end_date (datetime): When the Season actually ends. slug (str): Unique slug for the season, used in URLs and identifiers. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase
- league_id: uuid.UUID | None¶
‘field(…)’
- name: str | None¶
‘field(…)’
- description: str | None¶
‘field(…)’
- active: bool¶
‘field(…)’
- projected_start_date: datetime.datetime | None¶
‘field(…)’
- projected_end_date: datetime.datetime | None¶
‘field(…)’
- actual_start_date: datetime.datetime | None¶
‘field(…)’
- actual_end_date: datetime.datetime | None¶
‘field(…)’
- slug: str | None¶
‘field(…)’
- league_name: str | None¶
None
- leaguemanager.models.baseline.competition.season.season¶
‘Table(…)’