X-Git-Url: https://git.sommitrealweird.co.uk/sommitrealweird.git/blobdiff_plain/3c8f423203be690dd0bda32e90eec49f1650e4c6..669ecb575b2280e4217b87c1922337f29ddaee69:/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()