X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/3c8f423203be690dd0bda32e90eec49f1650e4c6..64484656099dfff360742f3a2c1e4d07bc1f6bd8:/sommitrealweird/bpcms/models.py 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()