Does anyone with deep knowledge of web2py know why this code is included in
html.py
667 ### important to allow safe session.flash=T()
668
669
670 def XML_unpickle(data):
671 return marshal.loads(data)
672
673
674 def XML_pickle(data):
675 return XML_unpickle,
Dear moderators,
How many posts do I need to post to be added to white list? Is it just bad
luck or what?
Thnx
On Monday, July 20, 2015 at 11:08:57 AM UTC+3, Massimo Di Pierro wrote:
> We never delete posts from users, unless the users ask (because they
> accidentally post the server
> Why do you want comment it out anyway?
>
This:
> The reason is that is allows storing variables that contain XML('.')
> in sessions. That is useful to deal with flash messages that contain more
> than just text.
I want to store XML in session flash message, like Massimo stated, but
in this time. Finger crossed!
>
>
> On Wednesday, 16 September 2015 08:42:58 UTC-5, Maxim Hrustalev wrote:
>>
>> Dear moderators,
>>
>> How many posts do I need to post to be added to white list? Is it just
>> bad luck or what?
>>
>> Thnx
>>
UTC+2, Maxim Hrustalev wrote:
To translate prettydate output you have to pass translation function as
argument: prettydate(my_date, T=T).
On Wednesday, July 8, 2015 at 12:40:55 AM UTC+3, icodk wrote:
Thanks for your help.
My editor (web2py web interface, Notepad++,Visual Studio) should
To translate prettydate output you have to pass translation function as
argument: prettydate(my_date, T=T).
On Wednesday, July 8, 2015 at 12:40:55 AM UTC+3, icodk wrote:
Thanks for your help.
My editor (web2py web interface, Notepad++,Visual Studio) should be able
to find 'ago' in any
Can anyone explain why this code is included in html.py:
667 ### important to allow safe session.flash=T()
668
669
670 def XML_unpickle(data):
671 return marshal.loads(data)
672
673
674 def XML_pickle(data):
675 return XML_unpickle, (marshal.dumps(str(data)),)
676 copy_reg.pickle(XML,
7 matches
Mail list logo