def METHOD_NAME(f):
    def page_decorator(request, *args, **kwargs):
        if is_request_to_misago(request):
            return page_not_found(request, *args, **kwargs)
        return f(request, *args, **kwargs)
    return page_decorator