]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/bpcms/models.py
Give better info for article path
[sommitrealweird.git] / sommitrealweird / bpcms / models.py
index 6df678162223fa770634c60f74f45684139e5032..f3d9b8ae492a7da57e29cd387a7e2ed74616e3ee 100644 (file)
@@ -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()