Skip to content

Commit

Permalink
convert to fstring
Browse files Browse the repository at this point in the history
  • Loading branch information
Tllew committed Feb 12, 2024
1 parent 3b0b79b commit 046636f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/survey/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ class SurveyResponse(TimestampableModel):
service_improvements_feedback = models.TextField(blank=True, default="")

def __str__(self):
return "SurveyResponse #{0} - {1}".format(self.id, self.recommendation)
return f"SurveyResponse #{self.id} - {self.recommendation}"

0 comments on commit 046636f

Please sign in to comment.