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