Add a generated name property to power tests to allow for export

This commit is contained in:
Joe Banks
2024-10-13 00:25:56 +01:00
parent 071cef632b
commit 78a77b0c24

View File

@@ -942,6 +942,10 @@ class PowerTestRecord(ReviewableModel, RevisionMixin):
@property
def activity_feed_string(self):
return str(self.event)
@property
def name(self):
return f"Power Test Record - {self.event}"
class EventCheckIn(models.Model):