Traceback (most recent call last): File "/data/www/nongs/app.py", line 2808, in get self.render(tpl+'/div_index.html',title = title_s, kw = kw, ds = ds, n = '3', sk = '', sid = qhid, qh_name = qhname, qh_title = qhtitle, biz_list = biz_list, biz0_list = biz0_list, divad = divad, shang = shang, news = news, cl = cl, cl00 = cl00, chanpin = chanpin, links = links, col = col, div_list = div_list, shang5 = shang5, qh_tel = qh_tel, qh_qq = qh_qq, news1 = news1, news2 = news2, qhupid = qhupid) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 750, in render html = self.render_string(template_name, **kwargs) File "/usr/lib64/python2.7/site-packages/tornado/web.py", line 891, in render_string return t.generate(**namespace) File "/usr/lib64/python2.7/site-packages/tornado/template.py", line 346, in generate return execute() File "desktop/div_index_html.generated.py", line 14, in _tt_execute _tt_tmp = classname # desktop/div_header.html:1 (via desktop/div_index.html:4) NameError: global name 'classname' is not defined