From: Radek Czajka Date: Thu, 31 Oct 2013 12:21:19 +0000 (+0100) Subject: Fix: Entry.__unicode__ could return None. X-Git-Tag: 0.3.3 X-Git-Url: https://git.mdrn.pl/django-migdal.git/commitdiff_plain/refs/tags/0.3.3 Fix: Entry.__unicode__ could return None. --- 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): diff --git a/setup.py b/setup.py index 6fa5db0..437b856 100755 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ def whole_trees(package_dir, paths): setup( name='django-migdal', - version='0.3.2', + version='0.3.3', author='Radek Czajka', author_email='radoslaw.czajka@nowoczesnapolska.org.pl', url = '',