From 9acb81b720e225df7090382d6d44544b0d2b7ad8 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 31 Oct 2013 13:21:19 +0100 Subject: [PATCH 1/1] Fix: Entry.__unicode__ could return None. --- migdal/models.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 = '', -- 2.20.1