From: Brett Parker Date: Wed, 3 Mar 2010 09:17:47 +0000 (+0000) Subject: Slightly better display of documents in admin X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/commitdiff_plain/669ecb575b2280e4217b87c1922337f29ddaee69?ds=sidebyside Slightly better display of documents in admin --- 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()