http://web2py.com/book/default/chapter/06

search for .represent to see some examples


On Mar 11, 2:30 pm, Eduardo <meketr...@gmail.com> wrote:
> Thanks for replying, Massimo.
>
> I am aware of the security concerns surrounding appadmin. I am
> actually using it as a model for an app which will solely be used on a
> local computer. appadmin has most part of what I need on the app!
>
> Can I revert the behaviour of appadmin towards "represent"? I am
> trying to find the usage of "represent" on the book; could you give me
> a link?
>
> Thanks,
>
> Eduardo
>
> On 11 mar, 11:17, Massimo Di Pierro <massimo.dipie...@gmail.com>
> wrote:
>
> > appadmin is for the administrator so it ignores "represent" and allows
> > you to distinguish None from ''. It is important. Mind that appadmin
> > is not safe to expose to users.
>
> > Massimo
>
> > On Mar 11, 7:38 am, Eduardo <meketr...@gmail.com> wrote:
>
> > > When I leave a field empty, it shows nothing on the SQLTABLE generated
> > > by appadmin. If, however, the empty field was validated with
> > > IS_EMPTY_OR(...), its value is displayed as "None"
>
> > > Is it possible to make it show no value at all?
>
> > > Thanks,
>
> > > Eduardo
>
>

Reply via email to