34
34
author = models.ForeignKey(User, null=True, blank=True, editable=True)
35
35
allow_comments = models.BooleanField(default=True, blank=False, editable=True)
36
36
category = models.ForeignKey(ProjectsCategory, null=False, blank=False, editable=True)
39
47
def approved_comments(self):
40
48
return Comment.objects.for_model(self).filter(is_public=True)