mirror of
https://github.com/django/django.git
synced 2025-01-19 23:02:20 +00:00
Fixed tests.queries.models.StaffUser.__str__().
This commit is contained in:
parent
df2d2bc95c
commit
e17ab0af91
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user