mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-19 19:09:22 +02:00
formatted for readability
This commit is contained in:
parent
2ffeda3be7
commit
3909ba8212
1 changed files with 1 additions and 0 deletions
|
@ -683,6 +683,7 @@ class ContactAdmin(ListHeaderAdmin):
|
|||
def user_exists(self, obj):
|
||||
"""Check if the Contact has a related User"""
|
||||
return obj.user is not None
|
||||
|
||||
user_exists.boolean = True
|
||||
user_exists.short_description = "Is user"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue