Skip to content

BaseReceiver

Overview

Abstract base model for all VUEDA domain models. Adds a formatted_name generated field (defaults to name) used by the API for consistent display. Subclasses should override formatted_name_lookup_expression to change the source field.

Meta

Default Django Meta base that replaces Django's add/change/view/delete permissions with CRUDL names.

Source

server/vueda/vdq/models.py:66

email

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

Signature

email(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

cell

The descriptor for the phone number attribute on the model instance. Returns a PhoneNumber when accessed so you can do stuff like::

>>> instance.phone_number.as_international

Assigns a phone number object on assignment so you can do::

>>> instance.phone_number = PhoneNumber(...)

or,

>>> instance.phone_number = '+414204242'

Source

server/vueda/vdq/models.py:61

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