Skip to content

EventSpec

  • Engine: SQL (Django model / relational table)
  • App: reference
  • Table/Collection: reference_eventspec
  • Verbose name: event spec

Counterpart of the Mongo EventSpec

Field Type Column/Key Null/Default PK Choices Notes
id AutoField id — PK — —
competition ForeignKey → Competition (FK) competition_id — — —
event_id CharField event_id — — —
event_code CharField event_code — — —
age_groups CharField age_groups — — —
genders CharField genders dflt=MF M: Male; F: Female; X: Other; MF: Uknown —
category CharField category — — —
limit IntegerField limit null — —
name CharField name — — —
parent CharField parent — — —
question CharField question — — —

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: ForeignKey → Competition (FK)
  • Column/Key: competition_id

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

event_id

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

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

event_code

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

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

age_groups

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

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

genders

  • Engine: SQL
  • Type: CharField
  • Column/Key: genders
  • default = MF; choices: M: Male; F: Female; X: Other; MF: Uknown

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

category

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

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

limit

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

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

name

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

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

parent

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

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

question

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

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

Generated by docs_models management command for SQL.