mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 23:42:14 +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
|
@property
|
||||||
def activity_feed_string(self):
|
def activity_feed_string(self):
|
||||||
return str(self.event)
|
return str(self.event)
|
||||||
|
|
||||||
|
@property
|
||||||
|
def name(self):
|
||||||
|
return f"Power Test Record - {self.event}"
|
||||||
|
|
||||||
|
|
||||||
class EventCheckIn(models.Model):
|
class EventCheckIn(models.Model):
|
||||||
|
|||||||
Reference in New Issue
Block a user