[web2py] Re: Dear all : any sir can use web2py's openid auth

2016-01-05 Thread Dave S
On Saturday, January 2, 2016 at 5:12:31 AM UTC-8, 湖南老師 wrote: > > Dear all : > any sir can use web2py's openid auth > I try many times,but fail. > Can you show us some sample code of one of the ways you've tried? /dps -- Resources: - http://web2py.com - http://web2py.com/book

Re: [web2py] how to get old version

2016-01-05 Thread Richard Vézina
As I said, DAL was included into web2py before it was put aside in another repository which now need to be retrieve with git clone recursive command as explained on the landing page... For the older version, DAL should be included so you shouldn't need clone --recursive, the only thing you need

[web2py] web2py version reported in the admin interface does not match the git tag?

2016-01-05 Thread Krzysztof Socha
I have been playing with git repo for web2py, and I find it very useful. Especially the tags - you can easily move from the current master (trunk) to a specific stable release... or so it seems. I noticed that the tag do not seem to match the version numbers reported in the admin panel for

[web2py] Re: how to get old version

2016-01-05 Thread Anthony
Not sure how far back they go, but you can go to: http://www.web2py.com/examples/static/x.x.x/web2py_[platform].zip where x.x.x is the version and [platform] is "win", "osx", or "src". Anthony On Monday, January 4, 2016 at 11:24:02 AM UTC-5, Yoel Benitez Fonseca wrote: > > h!, how can i get

Re: [web2py] how to get old version

2016-01-05 Thread Yoel Benitez Fonseca
¿clone recursive? ummm.. and what happen if i want on old version for windows ? there is not an FTP or so out there with the old versions !? 2016-01-05 10:40 GMT-05:00, Richard Vézina : > clone recursive... it explained... depend if you need previous pyDAL > version

Re: [web2py] Re: how to get old version

2016-01-05 Thread Yoel Benitez Fonseca
thanks anthony 2016-01-05 12:36 GMT-05:00, Anthony : > Not sure how far back they go, but you can go to: > > http://www.web2py.com/examples/static/x.x.x/web2py_[platform].zip > > where x.x.x is the version and [platform] is "win", "osx", or "src". > > Anthony > > On Monday,

Re: [web2py] how to get old version

2016-01-05 Thread Yoel Benitez Fonseca
but on github u don't get the submodules 2016-01-04 11:29 GMT-05:00, Richard Vézina : > Github! > > Richard > > On Mon, Jan 4, 2016 at 11:23 AM, Yoel Benitez Fonseca > wrote: > >> h!, how can i get the old versions of web2py, on >>

Re: [web2py] how to get old version

2016-01-05 Thread Richard Vézina
clone recursive... it explained... depend if you need previous pyDAL version or not, you shouldn't need clone recursive for previous pyDAL version... Richard On Tue, Jan 5, 2016 at 9:38 AM, Yoel Benitez Fonseca wrote: > but on github u don't get the submodules > >

[web2py] import a database into web2py

2016-01-05 Thread Nir Haramati
Can I import an already designed database into web2py? Put differently, can I instruct web2py to generate a model page with define_table statements for existing tables in a database? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py

Re: [web2py] how to get old version

2016-01-05 Thread Carlos Correia
Hi, To get an old version you can clone the git repo (git clone --recursive https://github.com/web2py/web2py.git) and then checkout the appropriated version (git checkout tags/R-2.7.2, to get version 2.7.2). As you'll be dealing with the sources, there is no difference whether you're using

[web2py] Re: Condicional Models

2016-01-05 Thread Marcelo Theodoro
Thanks folks. Maybe I will try the model-less approach in the future. But for now the response.models_to_run will work fine. :) -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

Re: [web2py] how to get old version

2016-01-05 Thread Richard Vézina
:D Richard On Tue, Jan 5, 2016 at 11:08 AM, Carlos Correia < car...@memoriapersistente.pt> wrote: > Hi, > > To get an old version you can clone the git repo (git clone --recursive > https://github.com/web2py/web2py.git) and then checkout the appropriated > version (git checkout tags/R-2.7.2, to

[web2py] Re: Auth extra fields

2016-01-05 Thread Anthony
I assume you want auth.user.store. Anthony On Tuesday, January 5, 2016 at 5:24:19 PM UTC-5, greenpoise wrote: > > if auth.is_logged_in(): > this_store=auth_user.store > else: > this_store=None > > > Is there a way to extract the extra fields value in the controller like > the code above? > >

[web2py] Re: Failing at Google Cloud SQL again: missing MySQLdb import somewhere?

2016-01-05 Thread Tom Campbell
So the problem was that on the latest OS X, libraries are now prohibited from using relative pathnames . I am testing, re-testing, and re-re-testing the document I'm writing up on every

[web2py] View To Controller, HTML componets

2016-01-05 Thread Carlo Ghilardi
Dear all, I'm trying to learn Web2py, but I'm having hard time to play with Forms, link HTML components like checkbox for instance. I'm not getting how can I get from the view to controller the information on the checkbox or Textbox or radio button, so in controller I can work with them and

[web2py] Auth extra fields

2016-01-05 Thread greenpoise
if auth.is_logged_in(): this_store=auth_user.store else: this_store=None Is there a way to extract the extra fields value in the controller like the code above? Thanks -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) -

[web2py] Re: Auth extra fields

2016-01-05 Thread Niphlod
why not ? On Tuesday, January 5, 2016 at 11:24:19 PM UTC+1, greenpoise wrote: > > if auth.is_logged_in(): > this_store=auth_user.store > else: > this_store=None > > > Is there a way to extract the extra fields value in the controller like > the code above? > > Thanks > -- Resources: -

[web2py] Re: Simple left sidebar example

2016-01-05 Thread 黄祥
not sure which part you didn't understand from the manual book, pls try this : *views_that_have_left_sidebar.html* {{left_sidebar_enabled = True}} {{block left_sidebar}} {{include 'templates/cart/cart_sidebar.html'}} {{end}} {{extend 'layout.html'}} *views/templates/cart/cart_sidebar.html*

[web2py] Re: Auth extra fields

2016-01-05 Thread greenpoise
auth_user is not defined. On Tuesday, January 5, 2016 at 2:26:59 PM UTC-8, Niphlod wrote: > > why not ? > > On Tuesday, January 5, 2016 at 11:24:19 PM UTC+1, greenpoise wrote: >> >> if auth.is_logged_in(): >> this_store=auth_user.store >> else: >> this_store=None >> >> >> Is there a way to

[web2py] Simple left sidebar example

2016-01-05 Thread Paul McDonald
Can anyone post a simple example of a View with a left sidebar? I must be missing something. It looks so simple in the manual "5.7 Blocks in views". Thank you in advance. Paul -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Re: SQLFORM security question

2016-01-05 Thread Massimo Di Pierro
form = SQLFORM(db.table) prevents again CSRF but does not limit access. For that you need to decorate the page with @auth.requires_login() etc. Once SQLFORM stores data in database it is in UTF8. If you extract data from database and you display it in a page in any way other than wrapping in

[web2py] Re: web2py 2.13.3 is OUT

2016-01-05 Thread Massimo Di Pierro
No. perhaps the file just had wrong permissions. On Monday, 4 January 2016 06:30:02 UTC-6, Jacinto Parga wrote: > > I have solved it. > > I have removed *logging.conf* file from the web2py folder, but I don't > know if it has undesidered consecuences! > > Can it be harmful? > > Thanks! > > El

[web2py] Re: web2py version reported in the admin interface does not match the git tag?

2016-01-05 Thread Niphlod
see https://github.com/web2py/web2py/issues/1148 On Tuesday, January 5, 2016 at 5:52:19 PM UTC+1, Krzysztof Socha wrote: > > I have been playing with git repo for web2py, and I find it very useful. > Especially the tags - you can easily move from the current master (trunk) > to a specific

[web2py] Re: Simple left sidebar example

2016-01-05 Thread Paul McDonald
On Tuesday, January 5, 2016 at 5:03:19 PM UTC-5, Paul McDonald wrote: > > Can anyone post a simple example of a View with a left sidebar? > I must be missing something. It looks so simple in the manual "5.7 Blocks > in views". > Thank you in advance. Paul > Stifan, Thank you for your help.

[web2py] Re: no db connection in shell in web2py administrative interface

2016-01-05 Thread Massimo Di Pierro
Do not use the web based shell. It has problems and this may be one of them. You can use the console shell python web2py.py -S appname -M >>> On Monday, 4 January 2016 14:23:11 UTC-6, Richard Knight wrote: > > I'm new to Web2py - I need a web-based database front-end for a project, > and