def error_redirect(self, errormsg='<STR_LIT>', errorlog='<STR_LIT>'):
from django.shortcuts import redirect<EOL>self.lti_errormsg = errormsg<EOL>self.lti_errorlog = errorlog<EOL>return redirect(self.build_return_url())<EOL>
Shortcut for redirecting Django view to LTI Consumer with errors