Change string representation of snapshots
This commit is contained in:
parent
20810ee732
commit
e86d67ae35
|
|
@ -140,8 +140,8 @@ class SnapshotNode(DjangoObjectType):
|
|||
]
|
||||
|
||||
@staticmethod
|
||||
def resolve_title(parent, info, **kwargs):
|
||||
return parent.module.title
|
||||
def resolve_title(parent: Snapshot, info, **kwargs):
|
||||
return f'Snapshot {parent.id}'
|
||||
|
||||
@staticmethod
|
||||
def resolve_meta_title(parent, info, **kwargs):
|
||||
|
|
|
|||
Loading…
Reference in New Issue