satisfying linter

This commit is contained in:
David Kennedy 2024-04-15 07:57:34 -04:00
parent 3909ba8212
commit 77d2c998d3
No known key found for this signature in database
GPG key ID: 6528A5386E66B96B

View file

@ -684,8 +684,8 @@ class ContactAdmin(ListHeaderAdmin):
"""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 # type: ignore
user_exists.short_description = "Is user" user_exists.short_description = "Is user" # type: ignore
# We name the custom prop 'contact' because linter # We name the custom prop 'contact' because linter
# is not allowing a short_description attr on it # is not allowing a short_description attr on it