Skip to content

Country

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

iso3166 countries

Field Type Column/Key Null/Default PK Choices Notes
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 — —
alpha3 CharField alpha3 — PK — ISO3166 3-letter code
ioc CharField ioc — — IOC traditional code
alpha2 CharField alpha2 — — ISO3166 2-letter code
name CharField name — — ISO3166 official short name
numeric IntegerField numeric — — ISO3166 numeric code
postal_code BooleanField postal_code dflt=False — —

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.

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.

alpha3

  • Engine: SQL
  • Type: CharField
  • Column/Key: alpha3
  • primary key

ISO3166 3-letter code

ioc

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

IOC traditional code

alpha2

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

ISO3166 2-letter code

name

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

ISO3166 official short name

numeric

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

ISO3166 numeric code

postal_code

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

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.