Skip to content

Commit

Permalink
performance: remove related field in __str__ #196
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Jan 25, 2024
1 parent a2dad1d commit 6dbfb8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prophecies/core/models/task_record.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class TaskRecord(models.Model):
related_name='bookmarked_task_records', blank=True)

def __str__(self):
return f'Record #{self.id} to be review in {self.task.name}'
return f'Record #{self.id} to be reviewed'

@cached_property
def checkers(self):
Expand Down

0 comments on commit 6dbfb8c

Please sign in to comment.