Docs are wrong but we can make this work.

I just made a change to trunk to fix that particular error. Please try
again, there may be other errors related to this.

On May 28, 3:30 pm, Rip Ryness <ripryn...@gmail.com> wrote:
> This syntax:
> Field('list_tags',type=gae.StringListProperty(),widget=str_list.widget),
>
> Caused this error:
>
> File "\src\gluon\sqlhtml.py", line 1164, in accepts
>     elif field.type.startswith('list:'):
> AttributeError: 'StringListProperty' object has no attribute 'startswith'
>
> This works though:
> Field('list_tags', 'list:string',widget=str_list.widget),
>
> Docs claim both should work.
>
> -Rip

Reply via email to