mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-20 13:56:30 +00:00
Add nice repr for NotificationUserSetting
This commit is contained in:
@ -183,3 +183,6 @@ class NotificationUserSetting(common.models.GenericReferencedSettingClass, commo
|
|||||||
verbose_name=_('User'),
|
verbose_name=_('User'),
|
||||||
help_text=_('User'),
|
help_text=_('User'),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
def __str__(self) -> str:
|
||||||
|
return f'{self.key} (for {self.user}): {self.value}'
|
||||||
|
Reference in New Issue
Block a user