这是一个创建于 5496 天前的主题,其中的信息可能已经有所发展或是发生改变。
    
    
    
        
        Traceback (most recent call last):
  File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 513, in __call__
    handler.post(*groups)
  File "/base/data/home/apps/v2ex/1.345445430106511738/place.py", line 95, in post
    template_values['l10n'] = l10n
NameError: global name 'template_values' is not defined
        
     
    
    
    
    
 
    3 条回复  •  1970-01-01 08:00:00 +08:00
     
    
    
        
        
        
        
            
                |  |  |      1gonghao      2010-10-14 15:20:57 +08:00 同上,遇到同样的问题~ | 
        
         
    
    
    
        
        
        
        
            
                |  |  |      2won      2010-10-14 15:49:25 +08:00 所有template_values['l10n'] = l10n 的问题,都是因为没有定义全局变量,具体做法看我发过的帖子 | 
        
         
    
    
    
        
        
        
        
            
                |  |  |      3Livid      2010-10-15 15:37:00 +08:00 多谢。
 修复了。
 |