#NEWLINE# def render( self , template , **kwargs ) : #NEWLINE# #INDENT# '\n            Render template\n\n            :param template:\n                Template path to render\n            :param kwargs:\n                Template arguments\n        ' #NEWLINE# kwargs [ 'admin_view' ] = template #NEWLINE# kwargs [ 'admin_base_template' ] = self . admin . base_template #NEWLINE# kwargs [ '_gettext' ] = babel . gettext #NEWLINE# kwargs [ '_ngettext' ] = babel . ngettext #NEWLINE# kwargs [ 'h' ] = h #NEWLINE# kwargs [ 'get_url' ] = self . get_url #NEWLINE# kwargs [ 'config' ] = current_app . config #NEWLINE# kwargs . update ( self . _template_args ) #NEWLINE# return render_template ( template , ** kwargs )