Skip to content

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}

NameTypeRequiredDescription
selfyes

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

NameTypeRequiredDescription
unknownyes

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

generate_reset_url

Generates a password reset URL for the given user.

Signature

generate_reset_url(self)

Parameters

NameTypeRequiredDescription
selfyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

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

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

objects

Signature

objects(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

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

NameTypeRequiredDescription
unknownyes

send_welcome_email

Send a welcome email with a password-reset link to the user's email address.

Signature

send_welcome_email(self)

Parameters

NameTypeRequiredDescription
selfyes

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

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