From: Brett Parker Date: Sun, 16 Aug 2009 14:15:45 +0000 (+0100) Subject: Give better info for article path X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/commitdiff_plain/13c39d1bc3d9f0634c8d9cfe3ea151c08e3ba54a Give better info for article path --- 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()