Skip to content
Snippets Groups Projects
Commit 4526cbe4 authored by Deaktivert bruker's avatar Deaktivert bruker
Browse files

greg.models: include verified_when in PersonIdentity.__repr__

Fixes: GREG-20
parent e3b718e9
No related branches found
No related tags found
1 merge request!26Heuristic for telling if guest is registered and verified
......@@ -165,15 +165,14 @@ class PersonIdentity(BaseModel):
verified_when = models.DateField(null=True)
def __repr__(self):
return (
"{}(id={!r}, type={!r}, source={!r}, value={!r}, verified_by={!r})".format(
self.__class__.__name__,
self.pk,
self.type,
self.source,
self.value,
self.verified_by,
)
return "{}(id={!r}, type={!r}, source={!r}, value={!r}, verified_by={!r}, verified_when={!r})".format(
self.__class__.__name__,
self.pk,
self.type,
self.source,
self.value,
self.verified_by,
self.verified_when,
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment