formatted for readability

This commit is contained in:
David Kennedy 2024-04-15 07:53:24 -04:00
parent 2ffeda3be7
commit 3909ba8212
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -683,6 +683,7 @@ class ContactAdmin(ListHeaderAdmin):
def user_exists(self, obj): def user_exists(self, obj):
"""Check if the Contact has a related User""" """Check if the Contact has a related User"""
return obj.user is not None return obj.user is not None
user_exists.boolean = True user_exists.boolean = True
user_exists.short_description = "Is user" user_exists.short_description = "Is user"