From: Radek Czajka Date: Sat, 23 May 2020 23:57:23 +0000 (+0200) Subject: fix X-Git-Url: https://git.mdrn.pl/audio.git/commitdiff_plain/776645a64178b154e8b41b7d76947b47bef91dc6?hp=4a8e96ac1f0a7c451d6d8ec28c773d2df76bb086 fix --- diff --git a/src/archive/models.py b/src/archive/models.py index d8b85ad..4ddfe69 100644 --- a/src/archive/models.py +++ b/src/archive/models.py @@ -16,6 +16,9 @@ class License(models.Model): uri = models.CharField(max_length=255, unique=True) name = models.CharField(max_length=255) + def __str__(self): + return self.name + class Project(models.Model): """ an audiobook project, needed for specyfing sponsors """