Include description field on Group serializer
This commit is contained in:
parent
abc949a015
commit
8b8d63db2e
|
@ -148,6 +148,6 @@ The legacy admin user interface is now disabled by default, and the few remainin
|
|||
* `content_type` has been renamed to `object_type`
|
||||
* The `content_type_id` filter is now `object_type_id`
|
||||
* users.Group
|
||||
* Added the `object_permissions` field
|
||||
* Added the `permissions` field
|
||||
* users.User
|
||||
* Added the `object_permissions` field
|
||||
* Added the `permissions` field
|
||||
|
|
|
@ -28,7 +28,7 @@ class GroupSerializer(ValidatedModelSerializer):
|
|||
|
||||
class Meta:
|
||||
model = Group
|
||||
fields = ('id', 'url', 'display', 'name', 'permissions', 'user_count')
|
||||
fields = ('id', 'url', 'display', 'name', 'description', 'permissions', 'user_count')
|
||||
brief_fields = ('id', 'url', 'display', 'name', 'description')
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue