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}
| Name | Type | Required | Description |
|---|---|---|---|
| self | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
objects
Signature
objects(unknown)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
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
| Name | Type | Required | Description |
|---|---|---|---|
| unknown | yes |
ADDED
ASSOCIATED
CHANGED
DELETED
UNASSOCIATED
_meta
Source
server/vueda/user/models.py:147