Show More
@@ -269,4 +269,4 b' class Post(models.Model):' | |||||
269 | return self.referenced_posts.order_by('id') |
|
269 | return self.referenced_posts.order_by('id') | |
270 |
|
270 | |||
271 | def is_referenced(self): |
|
271 | def is_referenced(self): | |
272 |
return self.referenced_posts. |
|
272 | return self.referenced_posts.all().exists() |
General Comments 0
You need to be logged in to leave comments.
Login now