def load_template_source(self, *ka):
template_name = ka[<NUM_LIT:0>]<EOL>for origin in self.get_template_sources(template_name):<EOL><INDENT>try:<EOL><INDENT>return self.get_contents(origin), origin.name<EOL><DEDENT>except TemplateDoesNotExist:<EOL><INDENT>pass<EOL><DEDENT><DEDENT>raise TemplateDoesNotExist(template_name)<EOL>
Backward compatible method for Django < 2.0.