Skip to content

Commit

Permalink
stb#187 Review#1 fix. Fix pdd task body
Browse files Browse the repository at this point in the history
  • Loading branch information
duker33 committed Sep 21, 2018
1 parent 4b9119e commit 9a5314e
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions catalog/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -438,9 +438,8 @@ def get_context_data(self):
context = self.super.get_context_data()
self.check_pagination_args()

# @todo #187:30m Return back empty products list 404 check.
# Now we have problem with stb tests.
# Now stb tests don't aware of it.
# @todo #187:30m Uncomment the if_404 check for empty products list.
# To do it fix stb tests to cover this case.

# if not self.products:
# raise http.Http404('Page without products does not exist.')
Expand Down

0 comments on commit 9a5314e

Please sign in to comment.