Skip to content

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}

NameTypeRequiredDescription
selfyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

_meta

Source

server/vueda/core/models.py:354

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2