Fix ownership display
This commit is contained in:
parent
f8844ce091
commit
1a6e5dc8fc
|
@ -56,7 +56,7 @@ class Purchase(models.Model):
|
||||||
)
|
)
|
||||||
|
|
||||||
def __str__(self):
|
def __str__(self):
|
||||||
return f"{self.edition} ({self.platform})"
|
return f"{self.edition} ({self.platform}, {self.get_ownership_type_display()})"
|
||||||
|
|
||||||
|
|
||||||
class Platform(models.Model):
|
class Platform(models.Model):
|
||||||
|
|
Loading…
Reference in New Issue