示例#1
0
 def render_error(self, error):
     views.render_error(self.make_request(), error, format='json')
示例#2
0
 def render_error(self, error):
     views.render_error(self.make_request(), error, format='json')
示例#3
0
 def render_error(self, request, error, next_path=None):
     return views.render_error(request,
                               error,
                               format='html',
                               next_path=next_path)
示例#4
0
 def render_error(self, request, error, next_path=None):
     return views.render_error(
         request, error, format='html', next_path=next_path)