Skip to content
Browse files

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

  • Loading branch information...
1 parent 0ff149c commit 1ff779be0b6ea490e0e79475802059413a4ea530 @whit whit committed Jul 6, 2010
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')

0 comments on commit 1ff779b

Please sign in to comment.
Something went wrong with that request. Please try again.