Voegt stijl toe

En wat voor een stijl. Damn.
This commit is contained in:
2024-02-12 02:06:28 +01:00
parent 66e69bc23d
commit 963ab7f0bf
13 changed files with 137 additions and 60 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ class Track(models.Model):
s = f"'{self.name}'"
if self.artists.count() > 0:
artists = list(map(lambda a:a.name, self.artists.all()))
s += " by "
s += " door "
s += " & ".join(artists)
return s
id = models.CharField(primary_key=True, max_length=128)