From 669ecb575b2280e4217b87c1922337f29ddaee69 Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Wed, 3 Mar 2010 09:17:47 +0000 Subject: [PATCH] Slightly better display of documents in admin --- sommitrealweird/bpcms/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sommitrealweird/bpcms/models.py b/sommitrealweird/bpcms/models.py index f28fede..0cb821b 100644 --- a/sommitrealweird/bpcms/models.py +++ b/sommitrealweird/bpcms/models.py @@ -36,7 +36,7 @@ class Document(models.Model): return self.__unicode__() def __unicode__(self): - return u'%s (%s)' %(self.title, self.get_folder_path()) + return u'%s - %s' %(self.get_basic_url(), self.title) def save(self): super(Document, self).save() -- 2.39.5