RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
Hi Massimo, Thanks very much. Will test and give you some feedback hopefully today. Is there some sort of way to access user info from layout.html for example across multiple modules without having to pass the user from each eaction in each module? I want to be able to display the user na

[web2py] Prevent multiple logins from the same user using the same login credentials

2019-09-30 Thread Accessorize Withwah
Is there a way to prevent a user from logging into my application multiple times maybe using different devices or from different locations? I came across some information somewhere that one could use* check_client=True*, I'm just not sure how it works & if it can help me achieve my task. Thank

[web2py] Re: Vue2pyj - alternative web IDE

2019-09-30 Thread Alex Beskopilny
суббота, 11 мая 2019 г., 5:12:26 UTC+3 пользователь Val K написал: > > As result of experimenting with Rapydscript I want to present my > alternative web IDE for web2py, > (that could be easily ported to web3py as well) > https://github.com/valq7711/vue2pyj > > Any feedback is appreciated >

[web2py] Re: Vue2pyj - alternative web IDE

2019-09-30 Thread Alex Beskopilny
суббота, 11 мая 2019 г., 5:12:26 UTC+3 пользователь Val K написал: > > As result of experimenting with Rapydscript I want to present my > alternative web IDE for web2py, > (that could be easily ported to web3py as well) > https://github.com/valq7711/vue2pyj > > Any feedback is appreciated > > 2

Re: [web2py] Re: py4web Auth

2019-09-30 Thread Massimo Di Pierro
In any action decorated with @action.uses(auth.user) you can do first_name = auth.get_user()['first_name'] Is this what you are asking? On Monday, 30 September 2019 01:07:23 UTC-7, John Bannister wrote: > > Hi Massimo, > > > > Thanks very much. Will test and give you some feedback hopefully to

RE: [web2py] Re: py4web Auth

2019-09-30 Thread John Bannister
Hi Massimo, Not quite what I am after. Scenario which I have is that I have a number of different models each has a number of different atctions. I have a menu defined in layout.html which is included in each view. I would like to display the logged in user name in the menu (so something lik

[web2py] Re: Vue2pyj - alternative web IDE

2019-09-30 Thread Val K
Thanks for your feedback, I just haven't tried web2py on PY3. I will fix it On Monday, September 30, 2019 at 2:17:39 PM UTC+3, Alex Beskopilny wrote: > > > > суббота, 11 мая 2019 г., 5:12:26 UTC+3 пользователь Val K написал: >> >> As result of experimenting with Rapydscript I want to present my >

[web2py] Re: py4web grid syntax - needs testers

2019-09-30 Thread isi_jca
Hi! Anybody have idea why py4web doesn't translate the labels? Best regards El domingo, 22 de septiembre de 2019, 22:02:16 (UTC-3), isi_jca escribió: > > Hi!!! > > In models.py, I have this table > > db.define_table('tempresa', > Field('descripcion','string',length=50,label = T('Enterprise'))

[web2py] trying web2py on py3.7

2019-09-30 Thread Val K
web2py™ Version 2.18.5-stable+timestamp.2019.04.07.21.13.59 Python Python 3.7.0:Traceback 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. Traceback (most recent call last): File " /web2py/gluon/main.py", line 442, in wsgibase serve_controller(request, response, session) File "

Re: [web2py] Re: py4web Auth

2019-09-30 Thread Massimo Di Pierro
I understand what you are asking. Something like the ability of web2py to define stuff in a models file and it would be available to the views. Problem with that design is the overhead. With py4web we are trying to be more efficient. There are many ways to do this: 1) create a function that

[web2py] Re: py4web grid syntax - needs testers

2019-09-30 Thread Massimo Di Pierro
Thanks for catching that. Please open a ticket and I will fix it asap. On Monday, 30 September 2019 12:34:57 UTC-7, isi_jca wrote: > > Hi! > > Anybody have idea why py4web doesn't translate the labels? > > Best regards > > > El domingo, 22 de septiembre de 2019, 22:02:16 (UTC-3), isi_jca escribi

[web2py] Re: trying web2py on py3.7

2019-09-30 Thread Massimo Di Pierro
On Monday, 30 September 2019 14:26:37 UTC-7, Val K wrote: > > web2py™ Version 2.18.5-stable+timestamp.2019.04.07.21.13.59 > Python Python 3.7.0:Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > > Traceback (most recent call last): > File " /w

[web2py] Re: trying web2py on py3.7

2019-09-30 Thread Massimo Di Pierro
It is a recent bug. I think it is fixed now. On Monday, 30 September 2019 14:26:37 UTC-7, Val K wrote: > > web2py™ Version 2.18.5-stable+timestamp.2019.04.07.21.13.59 > Python Python 3.7.0:Traceback > > 1. > 2. > 3. > 4. > 5. > 6. > 7. > 8. > 9. > 10. > 11. > 12. > 13. > 14. > 15. > 16. > > Traceb