nl: raise an TemplateSyntaxError exception with an argument "Could not find variable at start of %s.", replace '%s' with token.
code: raise TemplateSyntaxError ( "Could not find variable at " "start of %s." % token )