]> gitweb.fperrin.net Git - djsite.git/blobdiff - quotes/models.py
Use django-ajax-selects for selecting tags and works
[djsite.git] / quotes / models.py
index 34695dfd9fbdb4af7852b5774d4c6ddb4ac6e7f1..5daaea842062368aa7ffa3079399035e3fcebc3d 100644 (file)
@@ -92,7 +92,7 @@ class Work(CommonData):
                                   help_text='Not implemented yet')
 
     def __unicode__(self):
-        return "%s: %s (%s)" % (self.author.name, self.name, self.date)
+        return "%s (%s)" % (self.name, self.author.name)
 
     def get_absolute_url(self):
         return reverse('quotes:work', args=[str(self.id)])
@@ -113,4 +113,3 @@ class Quote(CommonData):
 
     class Meta(CommonData.Meta):
         ordering = ['-pk']
-