Show More
@@ -230,9 +230,8 b' class Post(models.Model, Viewable):' | |||
|
230 | 230 | db_index=True) |
|
231 | 231 | refmap = models.TextField(null=True, blank=True) |
|
232 | 232 | |
|
233 |
def __ |
|
|
234 | return '#' + str(self.id) + ' ' + self.title + ' (' + \ | |
|
235 | self.text.raw[:50] + ')' | |
|
233 | def __str__(self): | |
|
234 | return '#{} {} ({})'.format(self.id, self.title, self.text.raw[:50]) | |
|
236 | 235 | |
|
237 | 236 | def get_title(self): |
|
238 | 237 | """ |
General Comments 0
You need to be logged in to leave comments.
Login now