diff --git a/mainsite/models.py b/mainsite/models.py index af0fb85..809e224 100644 --- a/mainsite/models.py +++ b/mainsite/models.py @@ -48,6 +48,8 @@ class Publication(models.Model): def __str__(self): if self.custom_name: return self.custom_name + elif self.is_special: + return self.num return 'BOcal n°{}'.format(self.num) class Meta: