Add nice repr for NotificationUserSetting

This commit is contained in:
Matthias 2022-05-04 17:42:45 +02:00
parent a27f8a427a
commit 05d1f9703e
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -183,3 +183,6 @@ class NotificationUserSetting(common.models.GenericReferencedSettingClass, commo
verbose_name=_('User'),
help_text=_('User'),
)
def __str__(self) -> str:
return f'{self.key} (for {self.user}): {self.value}'