]> git.sommitrealweird.co.uk Git - sommitrealweird.git/blobdiff - sommitrealweird/bpcms/models.py
Enable CSRF and Comment Moderation
[sommitrealweird.git] / sommitrealweird / bpcms / models.py
index f28fedefd647edd1eab874a8359d8d30929e60b4..0cb821bdfdd80a2b55054cc76b7a22727f6a424e 100644 (file)
@@ -36,7 +36,7 @@ class Document(models.Model):
         return self.__unicode__()
 
     def __unicode__(self):
         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()
 
     def save(self):
         super(Document, self).save()