References/User & Skills: Difference between revisions
From OHC Network Wiki
More languages
More actions
Content deleted Content added
Migrate to {{SourceCode}} template |
Fix unclosed wikilink in gender Field row (restores Cargo row) (via update-page on MediaWiki MCP Server) |
||
| Line 62: | Line 62: | ||
{{Field|model=User&Skills|section=Identity & profile|name=prefix|type=CharField(10)|notes=Name prefix (e.g. Dr.); spec caps length at 10. Optional in specs}} |
{{Field|model=User&Skills|section=Identity & profile|name=prefix|type=CharField(10)|notes=Name prefix (e.g. Dr.); spec caps length at 10. Optional in specs}} |
||
{{Field|model=User&Skills|section=Identity & profile|name=suffix|type=CharField(50)|notes=Name suffix; spec caps length at 50. Optional in specs}} |
{{Field|model=User&Skills|section=Identity & profile|name=suffix|type=CharField(50)|notes=Name suffix; spec caps length at 50. Optional in specs}} |
||
{{Field|model=User&Skills|section=Identity & profile|name=gender|type=CharField(100)|notes=Nullable in DB. Write specs constrain it to <code>GenderChoices</code> and require it; read specs return it as a plain string. See [[#genderchoices-values}} |
{{Field|model=User&Skills|section=Identity & profile|name=gender|type=CharField(100)|notes=Nullable in DB. Write specs constrain it to <code>GenderChoices</code> and require it; read specs return it as a plain string. See [[#genderchoices-values|GenderChoices values]]}} |
||
{{Field|model=User&Skills|section=Identity & profile|name=old_gender|type=IntegerField|notes=Legacy <code>GENDER_CHOICES</code> (<code>1</code> Male, <code>2</code> Female, <code>3</code> Non-binary); nullable. No user spec exposes it}} |
{{Field|model=User&Skills|section=Identity & profile|name=old_gender|type=IntegerField|notes=Legacy <code>GENDER_CHOICES</code> (<code>1</code> Male, <code>2</code> Female, <code>3</code> Non-binary); nullable. No user spec exposes it}} |
||
{{Field|model=User&Skills|section=Identity & profile|name=date_of_birth|type=DateField|notes=Nullable. Read-only (nullable string) in <code>CurrentUserRetrieveSpec</code>}} |
{{Field|model=User&Skills|section=Identity & profile|name=date_of_birth|type=DateField|notes=Nullable. Read-only (nullable string) in <code>CurrentUserRetrieveSpec</code>}} |
||