You have a perfect example of web2py vs py4web.
Almost everything in your code works in both web2py and py4web but you
action is a mix of both and works in neither.
@action('rest', method='GET') # this is py4web syntax only defined the
def api():
return RestAPI(db, policy)(request.method, r
Hi Marcello,
I'm facing the same error right now. I quite new in web2py framework. Did
you figure it out?
Thanks
Il giorno lunedì 28 maggio 2018 04:59:16 UTC+2, Marcello ha scritto:
>
> Hello,
>
> I'm trying to create a Soap server with Python3 and web2py.
> Tested with the example from manual,
guess all is related to delimiters
http://www.web2pyslices.com/slice/show/1894/web2py-and-angularjs-handlebars-delimiters
Em sáb, 20 de jul de 2019 às 06:29, irving navarro <
irving.navarr...@gmail.com> escreveu:
> any know how do that?,, wanna develop the view on Angular 7 and make
> web2p
Hello,
this is in my controller:
from pydal.restapi import RestAPI, Policy
policy = Policy()
policy.set('superhero', 'GET', authorize=True, allowed_patterns=['*'])
policy.set('*', 'GET', authorize=True, allowed_patterns=['*'])
policy.set('*', 'PUT', authorize=False)
policy.set('*', 'POST', aut
4 matches
Mail list logo