Hello,
I'm using web2py 2.15.3-stable on Kali (debian) and having a strange
behavior. Each time I change anything on the source code of one of the
modules I have inside of the folder /applications/modules/ is not reflected
on the application unless I reboot the VM (tried restarting just the web
request.method =="update":
field1.requires = None
else:
field1.requires = IS_EMPTY_OR(IS_NOT_IN_DB(db, 'table.field1'))
I just hope it doesn't cause some nasty side effects.
Claudio
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http:
quite difficult to explain but I hope you got my point. Basically I
don't want the validator to be called on "update()" but only on "insert()"
Any advice on how to deal with this situation?
Claudio
Il giorno venerdì 4 giugno 2010 07:47:58 UTC+2, mdipierro ha scritto:
>
this was tested on web2py 1.99.2
Am I missing something?
2012/8/29 Claudio Zambaldi :
> Anthony, thanks for your reply.
>
> XML doesn't seem to render to html but to string.
>
> The following two lines in the welcome app index:
> session.flag= not (session.flag)
> ses
ossible to get some html content into the session.flash message?
>> I would like to include an "undo" link for a delete action.
>> Could also be nice to easily access newly created content.
>> Thank you.
>
> --
>
>
>
--
Claudio Zambaldi :: 0176-50123077 :: http://zambaldi.de
--
I have a newbie question: How can I create a form to delete selected
entries from a database? Can I use SQLFORM for this?
I have tables roughly like this in db.py
db.define_table('person',
Field('name'))
db.define_table('posts',
Field('title'),
Field('author',db.person))
and in default.py a fun
6 matches
Mail list logo