Being self contained, simple and with smartgrid, integrated Auth, and even
wiki engine and now again with updated pyrtf web2py could still have great
future as a a framework for company internal web database apps (also easy
field calculations) to replace I. E. Lotus notes or ms access apps and
inte
Tim Nyborg has got the solution:
It's a bug in yatl/sanitizer.py, which can be fixed as described:
https://stackoverflow.com/questions/60176267/webp2y-xml-helper-sanitize-line-breaks-under-python3
Thanks Tim!
On Wednesday, February 12, 2020 at 5:17:31 PM UTC+1, Clemens wrote:
>
> Hi Chris,
>
> th
Dear Massimo.
Did you plan to add the grid to py4web?
Il giorno lunedì 10 febbraio 2020 17:13:56 UTC+1, Massimo Di Pierro ha
scritto:
>
> Hello Victor,
>
> I recommend everybody to move from web2py to py4web. I am using the latter
> for my own projects and find it better.
> Honestly web2py has
my solution .decode('utf8').encode('latin1')
just did it without thinking... dont know what i´m doing but it works...
{{temp=db(db.apps.id>0).select(db.apps.icon,db.apps.
url,db.apps.bg,db.apps.title,orderby=db.apps.id)}}
{{for x in temp:}}
Have you installed the corresponding python 3 lib for postgres?
*pip3* install --no-binary :all: --upgrade psycopg2
What's your os? I'm using Linux and I switched to python 3, also using
postgres and I have no problems with psycopg2.
Best regards
Clemens
On Wednesday, February 5, 2020 at 3:44:
Great!
El El jue, 13 de feb. de 2020 a la(s) 09:22, Clemens <
clemens.odend...@claret-clover.de> escribió:
> Tim Nyborg has got the solution:
> It's a bug in yatl/sanitizer.py, which can be fixed as described:
>
> https://stackoverflow.com/questions/60176267/webp2y-xml-helper-sanitize-line-breaks
What do @authenticated and @unauthenticated do?
Can they be added to the documentation?
In particular I don't understand
# define a button that make the following serverside POST callback
@unauthenticated.button("click me")
def a_button(msg):
print("you clicked the button and server receiv
In the class ActionFactory, there's the code below. Is that an error? I
don't think requires_login is in the proper place? Maybe I don't
understand.
def put(self, path=None, template=None):
return self._action_maker('PUT', template, requires_login)
--
Resources:
- http://web2py.com
- h
In web2py, I used to sign all the AJAX callback URLs, using the URL(...,
user_signature=True) method.
In py4web, I don't see any emphasis or use on signed URLs. Why are signed
URLs not commonly used in py4web?
A digital signature is useful to prevent javascript running from other
sites (e.g
9 matches
Mail list logo