AbstractVUEDAUser
Overview
Default user for VUEDA
Verses django default, it features:
- row level permissions, via Meta.row_level_permissions.check_instance, see BaseRowLevelPermissions
- workflow state permissions
- email as the unique identifier
- email as a case-insensitive unique field
- name as a required field
- name as a single field, instead of first_name and last_name
- is_system flag
Meta
Shared Meta options for all VUEDA user models: ordering, GIN indexes, and extra permissions.
Source
server/vueda/user/models.py:113
str {#str}
Return str(self).
Signature {#str-signature}
__str__(self)
Parameters {#str-parameters}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source {#str-source}
server/vueda/user/models.py:116
date_joined
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
date_joined(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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 |
generate_reset_url
Generates a password reset URL for the given user.
Signature
generate_reset_url(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/user/models.py:131
get_next_by_date_joined
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_next_by_date_joined(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
get_previous_by_date_joined
Method descriptor with partial application of the given arguments and keywords.
Supports wrapping existing descriptors and handles non-descriptor callables as instance methods.
Signature
get_previous_by_date_joined(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
is_active
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
is_active(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
is_superuser
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
is_superuser(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
is_system
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
is_system(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
last_login
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
last_login(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 |
objects
Signature
objects(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
password
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Signature
password(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
send_welcome_email
Send a welcome email with a password-reset link to the user's email address.
Signature
send_welcome_email(self)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
Source
server/vueda/user/models.py:119
EMAIL_FIELD
REQUIRED_FIELDS
USERNAME_FIELD
_meta
groups
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example::
class Pizza(Model):
toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
user_permissions
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example::
class Pizza(Model):
toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings and Topping.pizzas are ManyToManyDescriptor instances.
Most of the implementation is delegated to a dynamically defined manager class built by create_forward_many_to_many_manager() defined below.
Source
server/vueda/user/models.py:78