Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Don't raise 404 when comments is blocked (SEO).

  • Loading branch information...
commit 1ff779be0b6ea490e0e79475802059413a4ea530 1 parent 0ff149c
@whit whit authored
Showing with 0 additions and 3 deletions.
  1. +0 −3  ella/ellacomments/views.py
View
3  ella/ellacomments/views.py
@@ -113,9 +113,6 @@ def post_comment(request, context, parent_id=None):
def list_comments(request, context):
- opts = CommentOptionsObject.objects.get_for_object(context['object'])
- if opts.blocked:
- raise Http404('Comments is blocked for this object.')
# basic queryset
qs = comments.get_model().objects.for_model(context['object']).order_by('tree_path')
Please sign in to comment.
Something went wrong with that request. Please try again.