Skip to content

AgeGroup

  • Engine: SQL (Django model / relational table)
  • App: reference
  • Table/Collection: reference_agegroup
  • Verbose name: age group

Definition of an age group which can be calculated

Field Type Column/Key Null/Default PK Choices Notes
id AutoField id — PK — —
scope CharField scope — — Country code, or awarding body such as IAAF/WMA
code CharField code — — Code such as U14
name CharField name — — Nickname such as 'Junior'
age IntegerField age — — —
cutoff_month IntegerField cutoff_month dflt=12 — Month of cutoff
cutoff_day IntegerField cutoff_day dflt=31 — Day of cutoff
mode CharField mode — YEAROF: year of; AFTER: after; BEFORE: before; DAY1: day of —
start_date DateField start_date null — Date introduced, optional
finish_date DateField finish_date null — Date ended, optional

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.

scope

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

Country code, or awarding body such as IAAF/WMA

code

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

Code such as U14

name

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

Nickname such as 'Junior'

age

  • Engine: SQL
  • Type: IntegerField
  • Column/Key: age

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

cutoff_month

  • Engine: SQL
  • Type: IntegerField
  • Column/Key: cutoff_month
  • default = 12

Month of cutoff

cutoff_day

  • Engine: SQL
  • Type: IntegerField
  • Column/Key: cutoff_day
  • default = 31

Day of cutoff

mode

  • Engine: SQL
  • Type: CharField
  • Column/Key: mode
  • choices: YEAROF: year of; AFTER: after; BEFORE: before; DAY1: day of

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

start_date

  • Engine: SQL
  • Type: DateField
  • Column/Key: start_date
  • nullable

Date introduced, optional

finish_date

  • Engine: SQL
  • Type: DateField
  • Column/Key: finish_date
  • nullable

Date ended, optional

Generated by docs_models management command for SQL.