这是一个创建于 5241 天前的主题,其中的信息可能已经有所发展或是发生改变。
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
![gonghao](https://cdn.v2ex.com/avatar/df87/7f38/533_normal.png?m=1730886614) |
|
1
gonghao 2010-10-14 15:20:57 +08:00
同上,遇到同样的问题~
|
![won](https://cdn.v2ex.com/avatar/2d1b/2a5f/1888_normal.png?m=1461493218) |
|
2
won 2010-10-14 15:49:25 +08:00
所有template_values['l10n'] = l10n 的问题,都是因为没有定义全局变量,具体做法看我发过的帖子
|
![Livid](https://cdn.v2ex.com/avatar/c4ca/4238/1_normal.png?m=1736209358) |
|
3
Livid 2010-10-15 15:37:00 +08:00
多谢。
修复了。
|