By the way reinstalling the app solved another auth problem i had with an
instance that had been idle for a few years.
I think there is something strange with auth that is solved with
reinstalling the app.
Anyway thank you
On Monday, February 24, 2020 at 8:56:12 PM UTC+9, Maurice Waka wrote:
>
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)
-
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
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
Thanks a lot.
Regards
On Mon, Feb 24, 2020, 06:14 Scott Hunter wrote:
> user = auth.get.user()['first_name']
>
> On Sunday, February 23, 2020 at 9:23:06 PM UTC-5, Lovedie JC wrote:
>>
>> Thanks.
>> Before you replied I had tried :
>> user = auth.get.user()[first_name]
>>
>> With an error..
user = auth.get.user()['first_name']
On Sunday, February 23, 2020 at 9:23:06 PM UTC-5, Lovedie JC wrote:
>
> Thanks.
> Before you replied I had tried :
> user = auth.get.user()[first_name]
>
> With an error.. 'first_name' is not defined
> Regards
>
> On Mon, Feb 24, 2020, 02:02 Val K > wrote:
>
Thanks.
Before you replied I had tried :
user = auth.get.user()[first_name]
With an error.. 'first_name' is not defined
Regards
On Mon, Feb 24, 2020, 02:02 Val K wrote:
> `auth` in py4web is no the same as in web2py
> to get user-record you should
> ...
> def index():
> user =
7 matches
Mail list logo