Show More
@@ -276,7 +276,7 b' class Post(models.Model):' | |||||
276 | self.last_edit_time = timezone.now() |
|
276 | self.last_edit_time = timezone.now() | |
277 | self.save() |
|
277 | self.save() | |
278 |
|
278 | |||
279 | def get_last_replies(self): |
|
279 | def get_last_replies(self): | |
280 | if settings.LAST_REPLIES_COUNT > 0: |
|
280 | if settings.LAST_REPLIES_COUNT > 0: | |
281 | reply_count = self.get_reply_count() |
|
281 | reply_count = self.get_reply_count() | |
282 |
|
282 |
General Comments 0
You need to be logged in to leave comments.
Login now