Re: [web2py] Beginners question on Authentication ...

2020-04-23 Thread Jim S
I've played with it a bit. After using web2py, I miss some of the web2py features that aren't there in py4web. SQLFORM.grid is the biggest one. I use that all over the place. I think Massimo is working on something similar in py4web but I haven't seen it yet. For those of us with large web2

Re: [web2py] Beginners question on Authentication ...

2020-04-23 Thread Jon Paris
Thanks Jim - I appreciate it. Yes - I keep forgetting that for some reason Python has redefined a lot of terms. Dictionaries confused me until I realized that they were pretty much the same as keyed arrays in PHP and other languages. Not sure why so much relabelling but it certainly makes the l

[web2py] Beginners question on Authentication ...

2020-04-22 Thread Jon Paris
In the section on basic Authentication in the documents ( http://web2py.com/books/default/chapter/29/03/overview#An-image-blog) it says to include in the model the following: from gluon.tools import Auth auth = Auth(db) auth.define_tables(username=True) And to add this to the default controller.