[web2py] Re: Py4Web Rest API Test

2019-07-26 Thread Massimo Di Pierro
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

[web2py] Re: Python3 and Soap

2019-07-26 Thread Maurizio Maccioni
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,

Re: [web2py] Web2Py and Angular 4,5,6,7,8... MIXED

2019-07-26 Thread António Ramos
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

[web2py] Py4Web Rest API Test

2019-07-26 Thread Kevin Keller
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