From e073ab5f4ec5bec683a8984196b0c8cbc09a344e Mon Sep 17 00:00:00 2001 From: Stephen Burrows Date: Wed, 23 Mar 2011 11:31:23 -0400 Subject: [PATCH] Switched Template.__unicode__ to only return self.name for legibility. --- models/pages.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/pages.py b/models/pages.py index 39125ef..b7b43c5 100644 --- a/models/pages.py +++ b/models/pages.py @@ -131,7 +131,7 @@ class Template(TreeModel): return contentlet_specs, contentreference_specs def __unicode__(self): - return self.get_path(pathsep=u' › ', field='name') + return self.name class Meta: app_label = 'philo' -- 2.20.1