projects
/
sommitrealweird.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Give better info for article path
[sommitrealweird.git]
/
sommitrealweird
/
bpcms
/
models.py
diff --git
a/sommitrealweird/bpcms/models.py
b/sommitrealweird/bpcms/models.py
index 6df678162223fa770634c60f74f45684139e5032..f3d9b8ae492a7da57e29cd387a7e2ed74616e3ee 100644
(file)
--- 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()