Skip to content

CompConfig

  • Engine: SQL (Django model / relational table)
  • App: reference
  • Table/Collection: reference_compconfig
  • Verbose name: Competition Configuration

CompConfig(id, competition, tvc_auto_field_events, tvc_auto_track_events, tvc_logo, tvc_banner, tvc_panel_colour, override_payee_fee_per_transaction, override_payee_fee_percent, enable_premium_features)

Field Type Column/Key Null/Default PK Choices Notes
id AutoField id — PK — —
competition OneToOneField → Competition competition_id null — —
tvc_auto_field_events BooleanField tvc_auto_field_events dflt=False — Automatically show latest field event results as they happen…
tvc_auto_track_events BooleanField tvc_auto_track_events dflt=False — Automatically show latest track results as they happen?
tvc_logo FileField tvc_logo null — Ideal size around 100x100. Will be visible on the tv console…
tvc_banner FileField tvc_banner null — Ideal size around 1520x820. Will be visible on the tv consol…
tvc_panel_colour CharField tvc_panel_colour — — Colour to be used on tv console panel for showing startlist/…
override_payee_fee_per_transaction IntegerField override_payee_fee_per_transaction null — Override for Payee fee in pence for every transaction
override_payee_fee_percent FloatField override_payee_fee_percent null — Override for Payee fee percent as a percentage of every tran…
enable_premium_features BooleanField enable_premium_features dflt=False — Enable premium features (Only Opentrack Staff should have ac…

Field names link to their fuller explanation below.

Field details

Click a field name in the table above to jump to its explanation. Fields with no help text yet show a prompt, and are the ones to improve by adding a help_text on the model field, then regenerating.

id

  • Engine: SQL
  • Type: AutoField
  • Column/Key: id
  • primary key

No help text yet — add a help_text on the model field and regenerate to fill this in.

competition

  • Engine: SQL
  • Type: OneToOneField → Competition
  • Column/Key: competition_id
  • nullable

No help text yet — add a help_text on the model field and regenerate to fill this in.

tvc_auto_field_events

  • Engine: SQL
  • Type: BooleanField
  • Column/Key: tvc_auto_field_events
  • default = False

Automatically show latest field event results as they happen?

tvc_auto_track_events

  • Engine: SQL
  • Type: BooleanField
  • Column/Key: tvc_auto_track_events
  • default = False

Automatically show latest track results as they happen?

  • Engine: SQL
  • Type: FileField
  • Column/Key: tvc_logo
  • nullable

Ideal size around 100x100. Will be visible on the tv console.

tvc_banner

  • Engine: SQL
  • Type: FileField
  • Column/Key: tvc_banner
  • nullable

Ideal size around 1520x820. Will be visible on the tv console.

tvc_panel_colour

  • Engine: SQL
  • Type: CharField
  • Column/Key: tvc_panel_colour

Colour to be used on tv console panel for showing startlist/results

override_payee_fee_per_transaction

  • Engine: SQL
  • Type: IntegerField
  • Column/Key: override_payee_fee_per_transaction
  • nullable

Override for Payee fee in pence for every transaction

override_payee_fee_percent

  • Engine: SQL
  • Type: FloatField
  • Column/Key: override_payee_fee_percent
  • nullable

Override for Payee fee percent as a percentage of every transaction

enable_premium_features

  • Engine: SQL
  • Type: BooleanField
  • Column/Key: enable_premium_features
  • default = False

Enable premium features (Only Opentrack Staff should have access to this).

Generated by docs_models management command for SQL.