From 13c39d1bc3d9f0634c8d9cfe3ea151c08e3ba54a Mon Sep 17 00:00:00 2001 From: Brett Parker Date: Sun, 16 Aug 2009 15:15:45 +0100 Subject: [PATCH 1/1] Give better info for article path --- 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 6df6781..f3d9b8a 100644 --- a/sommitrealweird/bpcms/models.py +++ b/sommitrealweird/bpcms/models.py @@ -20,7 +20,7 @@ class Document(models.Model): return self.__unicode__() def __unicode__(self): - return u'%s (%s)' %(self.title, self.slug) + return u'%s - %s' %(self.get_basic_url(), self.title) def save(self): super(Document, self).save() -- 2.39.5