Lookup
Overview
Abstract base for code/name lookup tables. Provides code (unique identifier), name (display label), and a generated formatted_name field for consistent display across the API.
Meta
Default Django Meta base that replaces Django's add/change/view/delete permissions with CRUDL names.
Source
server/vueda/core/models.py:364
str {#str}
Return str(self).
Signature {#str-signature}
__str__(self)
Parameters {#str-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source {#str-source}
server/vueda/core/models.py:367
code
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
code(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
formatted_name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
formatted_name(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
name
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
name(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
_meta
Source
server/vueda/core/models.py:354