исправил ошибку в админке
This commit is contained in:
parent
039f6ed9a5
commit
9f0fe06142
|
|
@ -8,5 +8,5 @@ class Song(models.Model):
|
|||
genre = models.CharField('Жанр трека', blank=True, null=True, max_length=50)
|
||||
art = models.CharField('Изображение трека', blank=True, null=True, max_length=255)
|
||||
|
||||
def __str__(self, request):
|
||||
def __str__(self):
|
||||
return f"{self.artist} - {self.title}"
|
||||
|
|
|
|||
Loading…
Reference in New Issue