Skip to content

Region

  • Engine: SQL (Django model / relational table)
  • App: reference
  • Table/Collection: reference_region
  • Verbose name: region

Regions for different countries used to distinguish eligability or origin

Field Type Column/Key Null/Default PK Choices Notes
id AutoField id — PK — —
created DateTimeField created null — —
last_edit_time DateTimeField last_edit_time null — —
last_edit_by CharField last_edit_by null — —
is_dirty BooleanField is_dirty dflt=True — —
country ForeignKey → Country (FK) country_id dflt=GBR — Country the region belongs to.
code CharField code — — Short code to identify region.
name CharField name — — Region Name.
local_name CharField local_name — — Region Name Local Text.

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.

created

  • Engine: SQL
  • Type: DateTimeField
  • Column/Key: created
  • nullable

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

last_edit_time

  • Engine: SQL
  • Type: DateTimeField
  • Column/Key: last_edit_time
  • nullable

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

last_edit_by

  • Engine: SQL
  • Type: CharField
  • Column/Key: last_edit_by
  • nullable

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

is_dirty

  • Engine: SQL
  • Type: BooleanField
  • Column/Key: is_dirty
  • default = True

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

country

  • Engine: SQL
  • Type: ForeignKey → Country (FK)
  • Column/Key: country_id
  • default = GBR

Country the region belongs to.

code

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

Short code to identify region.

name

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

Region Name.

local_name

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

Region Name Local Text.

Generated by docs_models management command for SQL.