diff --git a/boards/views/thread/thread.py b/boards/views/thread/thread.py --- a/boards/views/thread/thread.py +++ b/boards/views/thread/thread.py @@ -42,11 +42,6 @@ class ThreadView(BaseBoardView, PostMixi except ObjectDoesNotExist: raise Http404 - if 'method' in request.POST: - self.dispatch_method(request, opening_post) - - return redirect('thread', post_id) # FIXME Different for different modes - # If the tag is favorite, update the counter settings_manager = get_settings_manager(request) favorite = settings_manager.thread_is_fav(opening_post) @@ -93,6 +88,11 @@ class ThreadView(BaseBoardView, PostMixi if not opening_post.is_opening(): raise Http404 + if 'method' in request.POST: + self.dispatch_method(request, opening_post) + + return redirect('thread', post_id) # FIXME Different for different modes + if not opening_post.get_thread().archived: form = PostForm(request.POST, request.FILES, error_class=PlainErrorList)