1
luo123qiu 2011-03-16 15:49:29 +08:00
提交后显示的:
Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 517, in __call__ handler.post(*groups) File "/base/data/home/apps/v2ex/1.348987195219245336/topic.py", line 265, in post topic.title = topic_title File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 544, in __set__ value = self.validate(value) File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 2437, in validate raise BadValueError('Property %s is not multi-line' % self.name) BadValueError: Property title is not multi-line |
2
darasion 2011-03-16 16:03:16 +08:00
嗯。这bug存在很长时间了。。
StringProperty没开启multiline造成的。 其实可以保存之前过滤一下换行什么的。 |