There is something wrong with validators.py in line 289
values = re.compile([\w\-:]+).findall(str(value))
if I change it with
values = value
everything is ok
Maybe it's a bug
On 3月29日, 下午9时33分, hywang why00...@163.com wrote:
---model file is like this -
On Mar 29, 8:45 am, hywang why00...@163.com wrote:
There is something wrong with validators.py in line 289
values = re.compile([\w\-:]+).findall(str(value))
if I change it with
values = value
everything is ok
Maybe it's a bug
I do not know - but to help you along a little:
See the
On Mar 29, 8:33 am, hywang why00...@163.com wrote:
---model file is like this -
db.define_table('options_contain_chinease',
Field('student_name', requires = IS_IN_SET([Jim,小长,老李],
multiple=True)),
Using this last string from your IS_IN_SET example (I hope my copy/
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
On Mar 29, 10:04 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Mar 29, 8:33 am, hywang why00...@163.com wrote:
---model file is like this -
On Mar 29, 10:54 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
For example, looking at
http://docs.python.org/library/codecs.html#standard-encodings
and searching for
thanks for your kindly help.
On 3月30日, 上午1时47分, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
On Mar 29, 10:54 am, Yarko Tymciurak resultsinsoftw...@gmail.com
wrote:
anyway, I am sure this is about encoding to unicode - someone who has
done this will hopefully add comments.
For
Rewrite IS_IN_SET, everything is ok. But I don't know how to submit a
branch .
class IS_IN_SET(Validator):
def __init__(
self,
theset,
labels=None,
error_message='value not allowed',
multiple=False,
zero='',
sort=False,
):
7 matches
Mail list logo