Widgets (even custom ones) are quite easy: translating what list:string is
at the database level is another matter entirely.
IMHO in this case there's more "lack of HTML wizardry" rather than "lack of
database backend features"...
If I understood what you're calling "what django admin does", be a
You making the feature request? lol
On Sunday, May 1, 2016 at 12:01:31 PM UTC-4, Niphlod wrote:
>
> the answer is pretty easythere is no list:datetime Field type.
>
> On Friday, April 29, 2016 at 3:58:48 PM UTC+2, billmac...@gmail.com wrote:
>>
>> works:
>> Field("something", 'list:string'),
the answer is pretty easythere is no list:datetime Field type.
On Friday, April 29, 2016 at 3:58:48 PM UTC+2, billmac...@gmail.com wrote:
>
> works:
> Field("something", 'list:string'),
> Field("someting2", 'list:integer'),
>
> But no such thing as:
> Field("something3", 'list:datetime')
>
> I
works:
Field("something", 'list:string'),
Field("someting2", 'list:integer'),
But no such thing as:
Field("something3", 'list:datetime')
I imagine its same as upload field, we need to create a one to many
relationships with a table. Any shortcuts?
On Tuesday, January 19, 2016 at 2:47:44 AM UT
Il 19/01/16 03:17, 黄祥 ha scritto:
> just wondering why the requires list in a list type [] is not work
> properly when update (when insert goes fine):
> e.g.
> table.email.requires = IS_LIST_OF([IS_LOWER(), IS_EMAIL(),
> *IS_NOT_IN_DB(db, table.email)* ] )
In case of update I think you have to chan
just wondering why the requires list in a list type [] is not work properly
when update (when insert goes fine):
e.g.
table.email.requires = IS_LIST_OF([IS_LOWER(), IS_EMAIL(), *IS_NOT_IN_DB(db,
table.email)* ] )
the problem when update is validator IS_NOT_IN_DB() is always true
Value already in
Got it. Thank you Manuele. I guess we will need to code up the file upload
individually.
On Monday, January 18, 2016 at 10:25:58 AM UTC-5, Manuele wrote:
>
> Il 18/01/16 16:04, Ron Chatterjee ha scritto:
> > Field('link', 'list:string', requires=IS_URL()),
> accordingly to
>
> http://web2py.
Il 18/01/16 16:04, Ron Chatterjee ha scritto:
> Field('link', 'list:string', requires=IS_URL()),
accordingly to
http://web2py.com/books/default/chapter/29/07/forms-and-validators#Special-type-validators
it should be:
Field('link', 'list:string', requires=IS_LIST_OF(IS_URL())),
Cheers
M.
--
Seem to be some issues. Right? Or may be something I am missing.
Field('link', 'list:string', requires=IS_URL()),
The above wouldn't work because the validator breaks. If I take off
'list:string' from above field and type a wrong URL (let's say without
.com or something), the validator will pr
Il 18/01/16 02:36, Ron Chatterjee ha scritto:
> Thank you Massimo,
>
> It seems that will only work with string. But for an example of file
> upload validator, this wouldn't work. Or if I have a DAL validator
> like is URL(). In other words... Let's say I want someone to create a
> profile of his w
Thank you Massimo,
It seems that will only work with string. But for an example of file upload
validator, this wouldn't work. Or if I have a DAL validator like is URL().
In other words... Let's say I want someone to create a profile of his work
by adding multiple url links to their portfolio us
Field('something','list:string') ?
On Sunday, 17 January 2016 12:28:06 UTC-6, Ron Chatterjee wrote:
>
> Hello,
>
> I saw a similar post on this once but don't quite recall. Basically
> looking for a similar feature like django admin. Let's say I have a table
> below, I want to be able to add/app
12 matches
Mail list logo