leaguemanager.models.baseline.competition.site

Module Contents

Classes

Site

Defines a specific location.

Data

site

API

class leaguemanager.models.baseline.competition.site.Site

Bases: leaguemanager.models.base.SiteBase

Defines a specific location.

A Site can be assigned to Organization, League, Season, or Fixture base objects. This is because different sites can exist based on the matchups.

Attributes: id (UUID): Inherited from UUIDAuditBase organization_id (UUID): ForeignKey to Organization league_id (UUID): ForeignKey to League. season_id (UUID): ForeignKey to Season name (str): Descriptive name. (i.e, Barnes Center, The Pinback Complex) description (str): Optional description of the site. specifier (str): If specific field/rink/area to be designated (i.e., Field C, Gym Court 2, etc…) slug (str): Unique slug for the site, used in URLs and identifiers. created_at (datetime): Inherited from UUIDAuditBase updated_at (datetime): Inherited from UUIDAuditBase

organization_id: uuid.UUID | None

‘field(…)’

league_id: uuid.UUID | None

‘field(…)’

season_id: uuid.UUID | None

‘field(…)’

name: str | None

‘field(…)’

description: str | None

‘field(…)’

specifier: str | None

‘field(…)’

slug: str | None

‘field(…)’

leaguemanager.models.baseline.competition.site.site

‘Table(…)’