Awesome, I forgot about that post.
-Jim
On Wednesday, March 14, 2018 at 2:08:07 PM UTC-5, pbreit wrote:
>
> You might also check:
> https://github.com/web2py/scaffold
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
You might also check:
https://github.com/web2py/scaffold
--
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
Roberto's work it's really nice and valuable, we still need to drop the
nodejs dependency somehow, and use js tools without worrying about node or
npm. Something like using js modules in the browser would be nice.
You can read about it in the following links.
You can look at AuthAPI tests
https://github.com/web2py/web2py/blob/master/gluon/tests/test_authapi.py
But a login controller could be as simple as this:
Model:
from gluon.authapi import AuthAPI
auth = AuthAPI(db)
controller
def login():
return response.json(auth.login(**request.vars))
Perfect!
Thanks Richard, that should keep me busy for a while.
-Jim
On Tuesday, March 13, 2018 at 12:08:56 PM UTC-5, Richard wrote:
>
> Maybe here : https://github.com/robertop23/web2py_vuejs_vuetify
>
> There is a initiative to create a scafold web2py app base on vue.js...
>
> Richard
>
> On
Maybe here : https://github.com/robertop23/web2py_vuejs_vuetify
There is a initiative to create a scafold web2py app base on vue.js...
Richard
On Tue, Mar 13, 2018 at 1:07 PM, Jim S wrote:
> Thanks for that!
>
> Any example code anywhere on how to implement login and then
Thanks for that!
Any example code anywhere on how to implement login and then subsequent
page calls passing the logged in user or session information?
-Jim
On Tuesday, March 13, 2018 at 12:00:44 PM UTC-5, Leonel Câmara wrote:
>
> Look at AuthAPI which is Auth's base class
>
>
Look at AuthAPI which is Auth's base class
https://github.com/web2py/web2py/blob/master/gluon/authapi.py
It works pretty much like Auth except that it's based in dictionaries, its
functions get dictionaries as arguments and returns dictionaries, which is
pretty much what people usually want
8 matches
Mail list logo