mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Add a generated name property to power tests to allow for export
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user