X-Git-Url: https://git.mdrn.pl/django-migdal.git/blobdiff_plain/d701357a0efedcc2420a570dda6aabce9fac728e..7140368dfb24ff4a4e7f7943eb14e44dff7b7321:/migdal/models.py?ds=inline 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):