Changelog for #8894, #8998, #9122; PEP8 fix

This commit is contained in:
jeremystretch 2022-05-04 14:19:09 -04:00
parent c2fe2ba56f
commit da1aabdfc1
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,9 @@
### Enhancements
* [#8894](https://github.com/netbox-community/netbox/issues/8894) - Include full names when listing users
* [#8998](https://github.com/netbox-community/netbox/issues/8998) - Enable filtering racks & reservations by site group
* [#9122](https://github.com/netbox-community/netbox/issues/9122) - Introduce `clearcache` management command & clear cache during upgrade
* [#9278](https://github.com/netbox-community/netbox/issues/9278) - Linkify device types count under manufacturers list
### Bug Fixes

View File

@ -44,7 +44,7 @@ class UserSerializer(ValidatedModelSerializer):
user.save()
return user
def get_display(self, obj):
if full_name := obj.get_full_name():
return f"{obj.username} ({full_name})"