X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/d701357a0efedcc2420a570dda6aabce9fac728e..7140368:/migdal/models.py diff --git a/migdal/models.py b/migdal/models.py index c297c01..75529d6 100644 --- a/migdal/models.py +++ b/migdal/models.py @@ -27,7 +27,7 @@ class Category(models.Model): verbose_name_plural = _('categories') def __unicode__(self): - return self.title + return self.title or u"" @models.permalink def get_absolute_url(self):