Dear All,
I am new the web2py and trying to use the relatively new RESTful API,
as described at
http://web2py.com/books/default/chapter/29/10#Restful-Web-Services
I am testing it with a very simple model :
db.define_table('message',
Field('sender', required=True),
Field('recipient', requ
Worked ! Thanks
On Mar 19, 5:50 am, Massimo Di Pierro
wrote:
> return dict(message = db.message(id).as_dict())
>
>
>
>
>
>
>
> On Sunday, 18 March 2012 19:10:13 UTC-5, sebsto wrote:
>
> > Dear All,
>
> > I am new the web2py and trying to use the re
Hello,
Still developing around the RESTfull API.
I am looking for a way to handle the HTTP POST payload *before* the
controller is called.
I want my REST clients to send encrypted and compressed content. I
would need to decipher and decompress the content before the args
parsing is done.
Any su
Dear All,
I would like to execute some security related code (like key
generation) after successful Registration and / or Login function ...
Is it possible ? How to do it ?
Thanks
Seb
). There are callbacks for other auth events as well --
> seehttp://web2py.com/books/default/chapter/29/9#Settings-and-messages.
>
> Anthony
>
>
>
>
>
>
>
> On Monday, March 19, 2012 4:04:50 PM UTC-4, sebsto wrote:
>
> > Dear All,
>
> > I would like to exe
Hello,
I just discovered SQLForm.grid ! Waow, geat job !!
I'd like to customize some columns in the generated table.
Example use case :
- Use the pretty date formatting instead of displaying the raw date
("yesterday", etc ...)
- Use an icon instead of a status flag.
Is it possible ? How to
Thanks for your quick answer.
I figure it out just right now, here is my. It's working as
expected !!
def formatFlag(value):
if value == 1:
icon = 'msg_received'
elif value ==0:
icon = 'msg_sent'
return IMG(_src=URL('static', 'images/%s.png' % i
Hello,
Is it possible to select and delete multiple rows with one button click
using SQLFORM.grid ? (instead of clicking delete on each row)
I tried the "selectable" property but this doesn't help to delete.
I searched the archive of this group / mailing-list without success
Thanks for your hel
8 matches
Mail list logo