Skip to content

GroupChange

Overview

For local use of the permission overview screen, where you can add/edit/delete groups, we need to keep track of group changes, since they don't have history. With this info, we can make migrations based on the changes. In case permissions are deleted, we store the historical values from the permission, instead of a foreign key, since the ids can be different on machines where the migration is run.

DoesNotExist

The requested object does not exist

Source

server/vueda/user/models.py

MultipleObjectsReturned

The query returned multiple objects when only one was expected.

Source

server/vueda/user/models.py

str {#str}

Return str(self).

Signature {#str-signature}

__str__(self)

Parameters {#str-parameters}

NameTypeRequiredDescription
selfyes

Source {#str-source}

server/vueda/user/models.py:183

change_type

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

Signature

change_type(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

get_change_type_display

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_change_type_display(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

get_next_by_when

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_when(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

get_previous_by_when

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_when(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

group_name

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

Signature

group_name(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

group_name_old

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

Signature

group_name_old(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

historical_permission_codename

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

Signature

historical_permission_codename(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

historical_permission_content_type_app_label

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

Signature

historical_permission_content_type_app_label(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

historical_permission_content_type_model_name

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

Signature

historical_permission_content_type_model_name(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

id

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

Signature

id(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

objects

Signature

objects(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

when

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

Signature

when(unknown)

Parameters

NameTypeRequiredDescription
unknownyes

ADDED

ASSOCIATED

CHANGED

DELETED

UNASSOCIATED

_meta

Source

server/vueda/user/models.py:147

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