From e17ab0af91ef824d085c5e3bf71d42382ba3e36b Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Sat, 2 Oct 2021 13:49:02 -0400 Subject: [PATCH] Fixed tests.queries.models.StaffUser.__str__(). --- tests/queries/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/queries/models.py b/tests/queries/models.py index 383f633be9..c3322c224e 100644 --- a/tests/queries/models.py +++ b/tests/queries/models.py @@ -636,7 +636,7 @@ class StaffUser(BaseUser): staff = models.OneToOneField(Staff, models.CASCADE, related_name='user') def __str__(self): - return self.staff + return str(self.staff) class Ticket21203Parent(models.Model):