Re: [web2py] Re: pycon talk

2012-03-13 Thread Bruno Rocha
I dont know exaclty why, but if you changed a field from "string" in to "list:string" and you are using sqlite, so you are going to have some problems like this, specially if already has data on that fields. -- Bruno Rocha [http://rochacbruno.com.br]

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
Can you show the exact code you're using (model, controller, and view)? On Tuesday, March 13, 2012 11:01:08 PM UTC-4, VP wrote: > > That's strange. I'm using the latest web2py and I do not have this as > default behavior. > > > > > On Mar 13, 9:47 pm, Anthony wrote: > > As long as the form is

[web2py] Re: pycon talk

2012-03-13 Thread VP
That's strange. I'm using the latest web2py and I do not have this as default behavior. On Mar 13, 9:47 pm, Anthony wrote: > As long as the form is a SQLFORM (including Crud and SQLFORM.grid), then > yes, that should be the default behavior simply by specifying a list:string > type field. SQL

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
As long as the form is a SQLFORM (including Crud and SQLFORM.grid), then yes, that should be the default behavior simply by specifying a list:string type field. SQLFORM automatically uses the SQLFORM.widgets.list widget for list:string and list:integer fields, and that widget includes the Javas

[web2py] Re: pycon talk

2012-03-13 Thread VP
Anthony, maybe I didn't ask clearly. Here's the model: Bookmark = db.define_table( 'bookmark', Field('link','reference link',writable=False), Field('category',requires=IS_IN_SET(['work','personal'])), Field('tags','list:string'), auth.signature) I'm talking about field "tag

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
On Tuesday, March 13, 2012 9:17:06 PM UTC-4, VP wrote: > > Also, I saw in the video the field tag of type "list:string" is > presented nicely in view in the following way: after a new tag is > entered, a new empty textbox is added so a new tag can be added. How > is this done? (I don't thin

[web2py] Re: pycon talk

2012-03-13 Thread VP
Also, I saw in the video the field tag of type "list:string" is presented nicely in view in the following way: after a new tag is entered, a new empty textbox is added so a new tag can be added. How is this done? (I don't think this is the default behavior).

[web2py] Re: pycon talk

2012-03-13 Thread Anthony
> > Bookmark = db.define_table( > 'bookmark', > Field('link','reference link',writable=False), > Field('category',requires=IS_IN_SET(['work','personal'])), > Field('tags','list:string'), > auth.signature) > > > Can you explain what auth.signature? This feature doesn't se

[web2py] Re: pycon talk

2012-03-13 Thread VP
Thank you. Bookmark = db.define_table( 'bookmark', Field('link','reference link',writable=False), Field('category',requires=IS_IN_SET(['work','personal'])), Field('tags','list:string'), auth.signature) Can you explain what auth.signature? This feature doesn't seem documented

[web2py] Re: pycon talk

2012-03-13 Thread Massimo Di Pierro
https://github.com/mdipierro/web2py-appliances/tree/master/UrlShortening On Tuesday, 13 March 2012 17:04:09 UTC-5, VP wrote: > > Massimo: can you make this url shortening app available? > http://www.youtube.com/watch?v=M5IPlMe83yI > > thanks.