---
url: "https://vueda.dev/v3/reference/api/py/vueda.user.models/GroupChange.md"
title: "GroupChange"
---

# 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` {#DoesNotExist}

The requested object does not exist

### Source {#DoesNotExist-source}

`server/vueda/user/models.py`

## `MultipleObjectsReturned` {#MultipleObjectsReturned}

The query returned multiple objects when only one was expected.

### Source {#MultipleObjectsReturned-source}

`server/vueda/user/models.py`

## `NotUpdated` {#NotUpdated}

The updated object no longer exists.

### Source {#NotUpdated-source}

`server/vueda/user/models.py`

## `change_type` {#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-signature}

`change_type(unknown)`

#### Parameters {#change_type-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="change_type-param-unknown">unknown</span> |  | yes |  |  |

## `get_change_type_display` {#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-signature}

`get_change_type_display(unknown)`

#### Parameters {#get_change_type_display-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="get_change_type_display-param-unknown">unknown</span> |  | yes |  |  |

## `get_next_by_when` {#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-signature}

`get_next_by_when(unknown)`

#### Parameters {#get_next_by_when-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="get_next_by_when-param-unknown">unknown</span> |  | yes |  |  |

## `get_previous_by_when` {#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-signature}

`get_previous_by_when(unknown)`

#### Parameters {#get_previous_by_when-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="get_previous_by_when-param-unknown">unknown</span> |  | yes |  |  |

## `group_name` {#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-signature}

`group_name(unknown)`

#### Parameters {#group_name-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="group_name-param-unknown">unknown</span> |  | yes |  |  |

## `group_name_old` {#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-signature}

`group_name_old(unknown)`

#### Parameters {#group_name_old-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="group_name_old-param-unknown">unknown</span> |  | yes |  |  |

## `historical_permission_codename` {#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-signature}

`historical_permission_codename(unknown)`

#### Parameters {#historical_permission_codename-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="historical_permission_codename-param-unknown">unknown</span> |  | yes |  |  |

## `historical_permission_content_type_app_label` {#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-signature}

`historical_permission_content_type_app_label(unknown)`

#### Parameters {#historical_permission_content_type_app_label-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="historical_permission_content_type_app_label-param-unknown">unknown</span> |  | yes |  |  |

## `historical_permission_content_type_model_name` {#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-signature}

`historical_permission_content_type_model_name(unknown)`

#### Parameters {#historical_permission_content_type_model_name-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="historical_permission_content_type_model_name-param-unknown">unknown</span> |  | yes |  |  |

## `id` {#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-signature}

`id(unknown)`

#### Parameters {#id-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="id-param-unknown">unknown</span> |  | yes |  |  |

## `objects` {#objects}

### Signature {#objects-signature}

`objects(unknown)`

#### Parameters {#objects-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="objects-param-unknown">unknown</span> |  | yes |  |  |

## `when` {#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-signature}

`when(unknown)`

#### Parameters {#when-parameters}

| Name | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| <span id="when-param-unknown">unknown</span> |  | yes |  |  |

## `ADDED` {#ADDED}

## `ASSOCIATED` {#ASSOCIATED}

## `CHANGED` {#CHANGED}

## `DELETED` {#DELETED}

## `UNASSOCIATED` {#UNASSOCIATED}

## Source

`server/vueda/user/models.py:147`
