Skip to content

Commit a69d990

Browse files
committed
added comment
1 parent a04fe32 commit a69d990

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)