raise an TemplateSyntaxError exception with an argument string "next-to-last argument to 'regroup' tag must be 'as'".
raise TemplateSyntaxError ( "next-to-last argument to 'regroup' tag must" " be 'as'" )