#NEWLINE# def success_redirect( self , msg = '' , log = '' ) : #NEWLINE# #INDENT# '\n        Shortcut for redirecting Django view to LTI Consumer with messages\n        ' #NEWLINE# from django.shortcuts import redirect #NEWLINE# self . lti_msg = msg #NEWLINE# self . lti_log = log #NEWLINE# return redirect ( self . build_return_url ( ) )