Skip to content

LengthUnit

  • Engine: MongoDB (mongoengine document)
  • App: reference
  • Table/Collection: unit
  • Verbose name: Unit.LengthUnit

Throw, Long Jump or Triple Jump

Field Type Column/Key Null/Default PK Choices Notes
_about EmbeddedDocumentField → embedded <class 'docengine.mongoutils.models.VersionInfo'> _about null — —
uuid StringField _id — — —
sql_unit_id IntField sql_unit_id null — Cross reference to unit summary in SQL, which will one day s…
competition ReferenceField → <class 'project.reference.mongo.competition.Competition'> competition — — —
event ReferenceField → <class 'project.reference.mongo.eventspec.EventSpec'> event — — —
heat IntField heat null/dflt=1 — —
round IntField round null/dflt=1 — —
name StringField name null — Optional name; default display will be 'Senior Men 100m roun…
name_local StringField name_local null — Optional local name
slug StringField slug null — —
location StringField location null — —
day IntField day null/dflt=1 — —
scheduled_start_time StringField scheduled_start_time null — —
actual_start_time DateTimeField actual_start_time null — —
status StringField status null/dflt=unscheduled unscheduled: Unscheduled; scheduled: Scheduled; postponed: Postponed; rescheduled: Rescheduled; delayed: Delayed; scheduled_break: ScheduledBreak; getting_ready: GettingReady; running: Running; interrupted: Interrupted; finished: Finished; cancelled: Cancelled —
results_status StringField results_status null/dflt=none none: Not seeded; seeded: No results yet; in_progress: In-progress; provisional: Provisional Results; official: Official Results —
officiating StringField officiating null — Who was the official in charge?
results EmbeddedDocumentListField results null/dflt=[] — —
note StringField note null — Note to be displayed next to results
source StringField source null — File the data came from (e.g. Lynx LIF)
remote_results_url StringField remote_results_url null — web page where results can be found in another system
unit_code StringField unit_code null — Short code for heat e.g. H1, SF2, FINAL. Calculated on save
heat_name StringField heat_name null — Name for heat e.g. Heat 1 . Calculated on save
round_name StringField round_name null — Name for round e.g. Heats, Finals . Calculated on save
show_athlete_details BooleanField show_athlete_details null/dflt=False — —
override_ce_scores BooleanField override_ce_scores null/dflt=False — Manually input athlon scores
override_places BooleanField override_places null/dflt=False — Manually input places, or allow places without times
published BooleanField published null/dflt=True — Have recent changes be published?
score_overrides StringField score_overrides null — Allow scores of any team to be adjusted with a notation.
_cls StringField _cls null — —
rounds IntField rounds null/dflt=6 — how many jumps or throws each?
trials EmbeddedDocumentListField trials null/dflt=[] — —
show_partials BooleanField show_partials null/dflt=False — —
polyfield_config StringField polyfield_config null — Which sector the throws map draws for this unit, as named by…
polyfield_geometry DictField polyfield_geometry null/dflt={} — Geometry for the landing plot, as supplied by the measuring …

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.

_about

  • Engine: MongoDB
  • Type: EmbeddedDocumentField → embedded <class 'docengine.mongoutils.models.VersionInfo'>
  • Column/Key: _about
  • nullable

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

uuid

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: _id

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

sql_unit_id

  • Engine: MongoDB
  • Type: IntField
  • Column/Key: sql_unit_id
  • nullable

Cross reference to unit summary in SQL, which will one day supercede this

competition

  • Engine: MongoDB
  • Type: ReferenceField → <class 'project.reference.mongo.competition.Competition'>
  • Column/Key: competition

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

event

  • Engine: MongoDB
  • Type: ReferenceField → <class 'project.reference.mongo.eventspec.EventSpec'>
  • Column/Key: event

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

heat

  • Engine: MongoDB
  • Type: IntField
  • Column/Key: heat
  • nullable; default = 1

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

round

  • Engine: MongoDB
  • Type: IntField
  • Column/Key: round
  • nullable; default = 1

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

name

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: name
  • nullable

Optional name; default display will be 'Senior Men 100m round 1 heat 3' or some such

name_local

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: name_local
  • nullable

Optional local name

slug

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: slug
  • nullable

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

location

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: location
  • nullable

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

day

  • Engine: MongoDB
  • Type: IntField
  • Column/Key: day
  • nullable; default = 1

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

scheduled_start_time

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: scheduled_start_time
  • nullable

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

actual_start_time

  • Engine: MongoDB
  • Type: DateTimeField
  • Column/Key: actual_start_time
  • nullable

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

status

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: status
  • nullable; default = unscheduled; choices: unscheduled: Unscheduled; scheduled: Scheduled; postponed: Postponed; rescheduled: Rescheduled; delayed: Delayed; scheduled_break: ScheduledBreak; getting_ready: GettingReady; running: Running; interrupted: Interrupted; finished: Finished; cancelled: Cancelled

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

results_status

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: results_status
  • nullable; default = none; choices: none: Not seeded; seeded: No results yet; in_progress: In-progress; provisional: Provisional Results; official: Official Results

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

officiating

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: officiating
  • nullable

Who was the official in charge?

results

  • Engine: MongoDB
  • Type: EmbeddedDocumentListField
  • Column/Key: results
  • nullable; default = []

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

note

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: note
  • nullable

Note to be displayed next to results

source

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: source
  • nullable

File the data came from (e.g. Lynx LIF)

remote_results_url

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: remote_results_url
  • nullable

web page where results can be found in another system

unit_code

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: unit_code
  • nullable

Short code for heat e.g. H1, SF2, FINAL. Calculated on save

heat_name

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: heat_name
  • nullable

Name for heat e.g. Heat 1 . Calculated on save

round_name

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: round_name
  • nullable

Name for round e.g. Heats, Finals . Calculated on save

show_athlete_details

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: show_athlete_details
  • nullable; default = False

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

override_ce_scores

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: override_ce_scores
  • nullable; default = False

Manually input athlon scores

override_places

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: override_places
  • nullable; default = False

Manually input places, or allow places without times

published

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: published
  • nullable; default = True

Have recent changes be published?

score_overrides

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: score_overrides
  • nullable

Allow scores of any team to be adjusted with a notation.

_cls

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: _cls
  • nullable

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

rounds

  • Engine: MongoDB
  • Type: IntField
  • Column/Key: rounds
  • nullable; default = 6

how many jumps or throws each?

trials

  • Engine: MongoDB
  • Type: EmbeddedDocumentListField
  • Column/Key: trials
  • nullable; default = []

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

show_partials

  • Engine: MongoDB
  • Type: BooleanField
  • Column/Key: show_partials
  • nullable; default = False

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

polyfield_config

  • Engine: MongoDB
  • Type: StringField
  • Column/Key: polyfield_config
  • nullable

Which sector the throws map draws for this unit, as named by the measuring client. Accepts:

  • 'Discus' - 1.25 m circle, 34.92 degree sector
  • 'Hammer' - 1.0675 m circle, 34.92 degree sector
  • 'Shot' - 1.0675 m circle, 34.92 degree sector
  • 'Javelin' - 8 m arc, 29 degree sector

The event codes DT, HT, WT, SP and JT are understood too (WT is drawn as a hammer). Anything else, or an empty value, is drawn as a discus. When the unit has no config at all the event code is used instead, so a throws event plots correctly without it. More detail on this field →

polyfield_geometry

  • Engine: MongoDB
  • Type: DictField
  • Column/Key: polyfield_geometry
  • nullable; default = {}

Geometry for the landing plot, as supplied by the measuring client, stored as a free-form dict — no schema is imposed on it. The current throws map does not read it: the circle radius and sector angle come from polyfield_config, or the event code. Kept so the client's own geometry is not lost. More detail on this field →

Generated by docs_models management command for MongoDB.