With this callback can i have "powerfields" that automatically update
themselves in the database ?
No need to submit forms..
Em sáb., 15 de fev. de 2020 às 11:27, Massimo Di Pierro <
massimo.dipie...@gmail.com> escreveu:
> They they should be added
>
> @autneticated and @unauthenticated are
They they should be added
@autneticated and @unauthenticated are defined in common.py
The @unauthenticated decorator automatically applys fixtures: db, auth,
session, T. exposes the action with user /{function_name} and defaults to
template {function_name}.html (very much like web2py does)
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
3 matches
Mail list logo