[web2py] Setting a default reference value as that of a specific group the logging in user is a member of

2020-02-24 Thread mostwanted
I have 2 tables about a hotel, one table registers the hotel itself & the other is about meals that are offered at the hotel but the idea is that only group members of each hotel have to & can only register meals for their hotels. So to avoid mistakes & prevent malicious intentions I was

[web2py] Re: unexpected end of stream - py4web

2020-02-24 Thread Dave S
On Sunday, February 23, 2020 at 11:26:50 PM UTC-8, Edoardo Torrini wrote: > > Hi, > I will attach you some part of code: > > > > > this is the task of my app: > > [image: task prd - py4web.png] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I am still surprised

Re: [web2py] Re: LOAD in py4web

2020-02-24 Thread António Ramos
I think LOAD should be gone and we should move this kind of interaction to the client part. Also py4web should stick with server stuff and let client stuff integrate better an in a more independent way. For me FORM / smartgrid should also be gone. Vuetify and buefy tables are awesome. dont try to

[web2py] off topic - Alpine JS as an alternative to vuejs/react

2020-02-24 Thread António Ramos
vuejs is awesome but for simple stuff maybe alpine js is simpler. Just asking your thoughts if any... https://github.com/alpinejs/alpine -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: PY4WEB request.vars error

2020-02-24 Thread Ruslan Gareev
Hi! Now in py4web it will be (if POST vars): request.forms.message or request.POST.message or if GET vars: request.query.message or request.GET.message понедельник, 24 февраля 2020 г., 20:11:02 UTC+5 пользователь Maurice Waka написал: > > Hi > I can't make a head or tail out of this. > What

[web2py] Re: PY4WEB request.vars error

2020-02-24 Thread Maurice Waka
Hi I can't make a head or tail out of this. What changed from e.g. 'request.vars.messag'? DO you have any example I can use? Regards On Monday, February 24, 2020 at 2:17:22 AM UTC+3, Val K wrote: > > p4web `request` is bottle request, see > https://bottlepy.org/docs/dev/api.html#bottle.Request

[web2py] Re: Py4web: ¿Practical example step by step?

2020-02-24 Thread Yuver Parra
Good morning Massimo. Does the promised step-by-step manual already exist? El miércoles, 22 de enero de 2020, 1:25:05 (UTC-5), Massimo Di Pierro escribió: > > I am preparing one. It will be done in 2 weeks. Promise. > > On Tuesday, 21 January 2020 01:15:27 UTC-8, Dave S wrote: >> >> >> >> On

[web2py] Py4Web "tags" should be SCOPES

2020-02-24 Thread Kevin Keller
Hey, I would like to suggest, that if Py4Web is supposed to be an API first framework that it adheres to modern auth standards right out of the gate. Apart from having the ability to provide JWT access tokens and more Oauth2 plugins then just facebook and google ( all things I started to

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Maurice Waka
Working now. I had to reinstall the app. Regards On Monday, February 24, 2020 at 12:58:10 PM UTC+3, Val K wrote: > > get_user(), not get.user() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Val K
get_user(), not get.user() -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups

Re: [web2py] Re: p4web auth issues

2020-02-24 Thread Maurice Waka
Something is not right... Now I get this error: Traceback (most recent call last): File "/home/maurice/py4web/py4web/core.py", line 551, in wrapper ret = func(*func_args, **func_kwargs) File "/home/maurice/py4web/py4web/core.py", line 512, in wrapper ret = func(*args, **kwargs) File

[web2py] Re: Future of web2py

2020-02-24 Thread Jörg Schneider
Hello Massimo, at first I want to give you a thousands thanks for creating and promoting web2py! I've learnt a lot from your Vimeo tutorials 5 years ago and was able to built helpful internal web based tools for non-profit organisations or choirs without great effort. With other words: I

[web2py] Re: Many records in one transaction

2020-02-24 Thread Константин Комков
*Villas*, I can explain why I need to delete many records. I have template of timetable (example upper in my post). There is templates for each group for each faculty in university. ~40 groups = 40 templates for each faculty. When I do timetable I need to do next operations: - Select all