Skip to content

Commit eafa5a5

Browse files
authored
Merge pull request #298 from PROCOLLAB-github/add_comment
added comment
2 parents a04fe32 + a69d990 commit eafa5a5

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

news/mixins.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def get_queryset_for_project(self):
2020
except Project.DoesNotExist:
2121
# TODO: raise http 404 here
2222
return News.objects.none()
23+
# временное удаление постов для проектов с текстом
2324
return News.objects.get_news(obj=project).exclude(
2425
text="", content_type__model="project"
2526
)

0 commit comments

Comments
 (0)