def _urlnode_render_replacement(self, context):
 args = [arg.resolve(context) for arg in self.args]
 try:
  app = webapp.WSGIApplication.active_instance
  handler = app.get_registered_handler_by_name(self.view_name)
  return handler.get_url(implicit_args=True, *args)
 except webapp.NoUrlFoundError:
  return ''

def _urlnode_render_replacement ( self , context ) : args = [ arg . resolve ( context ) for arg in self . args ] try : app = webapp . WSGIApplication . active_instance handler = app . get_registered_handler_by_name ( self . view_name ) return handler . get_url ( implicit_args = True , * args ) except webapp . NoUrlFoundError : return ''
replacement for djangos {% url %} block .