#NEWLINE# def _dispatch_super( self , request , * args , **kwargs ) : #NEWLINE# #INDENT# base = super ( JSONResponseMixin , args ) #NEWLINE# handler = getattr ( base , request . method . lower ( ) , None ) #NEWLINE# if callable ( handler ) : #NEWLINE# #INDENT# return handler ( request , * args , ** kwargs ) #NEWLINE# #UNINDENT# return HttpResponseBadRequest ( 'This view can not handle method {0}' . format ( request . method ) , status = 405 )