Fix formatting
This commit is contained in:
parent
34d42e2af5
commit
6328d835ee
|
@ -112,9 +112,11 @@ class Purchase(models.Model):
|
|||
def __str__(self):
|
||||
additional_info = [
|
||||
self.get_type_display() if self.type != Purchase.GAME else "",
|
||||
(
|
||||
f"{self.edition.platform} version on {self.platform}"
|
||||
if self.platform != self.edition.platform
|
||||
else self.platform,
|
||||
else self.platform
|
||||
),
|
||||
self.edition.year_released,
|
||||
self.get_ownership_type_display(),
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue