From: Olivier Hardy Date: Mon, 6 Feb 2012 15:01:11 +0000 (+0100) Subject: In template, use handler reverse_url instead of application one X-Git-Tag: v2.3.0~85 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eac1e538b49c292e283965b6a7d6e3f314bf2123;p=thirdparty%2Ftornado.git In template, use handler reverse_url instead of application one --- diff --git a/tornado/web.py b/tornado/web.py index a0f6382b8..d1a26f576 100644 --- a/tornado/web.py +++ b/tornado/web.py @@ -588,7 +588,7 @@ class RequestHandler(object): _=self.locale.translate, static_url=self.static_url, xsrf_form_html=self.xsrf_form_html, - reverse_url=self.application.reverse_url + reverse_url=self.reverse_url ) args.update(self.ui) args.update(kwargs)