def METHOD_NAME(self, *args, **kwargs):
    # Get object early so we can access it in multiple places
    self.forum = get_object_or_404(Forum, pk=self.kwargs['forum_pk'])
    if 'thread_pk' in self.kwargs:
        self.thread = get_object_or_404(Thread, pk=self.kwargs['thread_pk'])
    return super(ForumBaseMixin, self).METHOD_NAME(*args, **kwargs)