mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Include description field on Group serializer
This commit is contained in:
@ -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')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user