def http_method_not_allowed(self, request, *args, **kwargs):
        # Instead of just returning the standard "method not allowed" HTTP
        # status code, we can forward to the moderation admin
        return redirect(reverse('mod_admin'))

    # pylint: disable=no-self-use
Redirect users who are not performing a POST request
dataset/ETHPy150Open ofa/connect/open_connect/moderation/views.py/SubmitView.http_method_not_allowed