[web2py] Re: Two parallel methods of authenticating users based on Auth class

2014-08-02 Thread marcin jaworski
UTC+2 użytkownik marcin jaworski napisał: > > Hi All, > My fault. Web2py handbook says: > "Don't store user-defined classes in session" > I will have to re-read the basics after not touching framework for a long > time (since the luck of troubles). > Thanks for your

[web2py] Re: Two parallel methods of authenticating users based on Auth class

2014-07-31 Thread marcin jaworski
he current >> id. I have not tried this but should work. >> >> For example you can make a script that does: >> >> auth.messages.reset_password = 'You must reset your password. Click on >> the link %(link)s to reset your password' >> for user in d

[web2py] Re: Two parallel methods of authenticating users based on Auth class

2014-07-30 Thread Marcin Jaworski
r user in db(db.auth_user).select(): auth.email_reset_password(user) > > Now the issue is, if they cannot access GAE for login, would they receive > the email? > > > On Tuesday, 29 July 2014 09:01:07 UTC-5, Marcin Jaworski wrote: >> >> Hello, >> >> I have w

[web2py] Two parallel methods of authenticating users based on Auth class

2014-07-29 Thread Marcin Jaworski
Hello, I have web2py on GAE and it works fine. Unfortunately, clients from China cannot access Google ServiceLogin lately. I have declared it in db.py settings like so: auth.settings.login_form=GaeGoogleAccount() after importing this method from gluon.contrib.login_methods.gae_google_account.

[web2py] Re: Building Query object based on Rows avoiding 'belongs'

2013-04-08 Thread Marcin Jaworski
Hi All! Finally I ended up with ugly solution, namely sqlhtml.py customization (redefinition of rows), where rows to show in grid are defined based on query object. Thank you for your help and kind egards, Marcin Jaworski W dniu poniedziałek, 8 kwietnia 2013 10:12:24 UTC+2 użytkownik

[web2py] Re: Building Query object based on Rows avoiding 'belongs'

2013-04-08 Thread Marcin Jaworski
rs: " !='' " and " is not None " and " > None " are not supported in queries). Can you advise? Marcin Jaworski W dniu poniedziałek, 8 kwietnia 2013 04:34:57 UTC+2 użytkownik Christian Foster Howes napisał: > > speaking without reading the docs.

[web2py] Building Query object based on Rows avoiding 'belongs'

2013-04-07 Thread Marcin Jaworski
my case. Can you advise? Marcin Jaworski -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, vis

[web2py] Re: Serving excel file on GAE right from the controller

2012-07-31 Thread marcin jaworski
I have just missed some important parts and mess up other things in my respons. The solution is: instead: content = wb it should be: content = stream.getvalue() And everything works as expected now. W dniu wtorek, 31 lipca 2012 15:57:45 UTC+2 użytkownik marcin jaworski napisał

[web2py] Serving excel file on GAE right from the controller

2012-07-31 Thread marcin jaworski
Hello, My web2py (1.99.5) app is on GAE. I would like to serve Excel file right from the controller. I have managed to prepare wb object to serve: --- def serve_xls_file(): import xlwt import cStringIO stream = cStr

Re: [web2py] Problem with Oracle connection string...

2010-08-27 Thread Marcin Jaworski
in "username:password" string. Without replacement it did not work at all. Bye. M > 2010/8/27 Marcin Jaworski > > On 2010-08-27, 15:06 ionel wrote: > > > Hello, > > > > I have a problem when I try to connect to an Oracle database with th

Re: [web2py] Problem with Oracle connection string...

2010-08-27 Thread Marcin Jaworski
On 2010-08-27, 15:06 ionel wrote: > Hello, > > I have a problem when I try to connect to an Oracle database with this > connection string: > > db = DAL("oracle://username:password@//network_server:1521/ > database_name") Hello, Replacing ":" with "/" in "username:password" works for me on Or

Re: [web2py] Problem with Oracle connection string...

2010-08-27 Thread Marcin Jaworski
On 2010-08-27, 15:06 ionel wrote: > Hello, > > I have a problem when I try to connect to an Oracle database with this > connection string: > > db = DAL("oracle://username:password@//network_server:1521/ > database_name") > > Hello, Replacing ":" with "/" works for me on Oracle 11.0.2. By

Re: [web2py] Re: Using rpy2 with web2py does not work

2010-02-21 Thread Marcin Jaworski
mdipierro 2010-02-21, 08:07: > I do not know what to say. web2py is just a python program. > > if you can import them from python you can import them from web2py. > > try print sys.path and make sure pry2 is installed in a folder that is > the path. > > I cannot now but I have used rpy in the

Re: [web2py] Re: Serious issue with upgrading to latest version

2010-01-26 Thread Marcin Jaworski
Wiadomość napisana przez weheh w dniu 2010-01-26, o godz. 19:00: > Massimo, the db is MySQL, not SQLITE. I think this is going to be more > complicated than what you suggest. I am going to do a wipe and clean > install. It's been awhile since I upgraded my server's version of > web2py. I honestly

[web2py:28744] Re: New Book Chapters 7 (crud),8 (auth), 9 (services)

2009-08-16 Thread Marcin Jaworski
OK, I missed it. Now I have got the fourth one: CRUD methods. me: > At first glance: you mentioned " four distinct ways to build forms > in web2py..." (page 181) but only three were signalized (or mayby I > am missing somthing)? Wiadomość napisana w dniu 2009-08-16, o godz. 09:53, przez M

[web2py:28743] Re: New Book Chapters 7 (crud),8 (auth), 9 (services)

2009-08-16 Thread Marcin Jaworski
Hi, Thank you for free access to your work. At first glance: you mentioned " four distinct ways to build forms in web2py..." (page 181) but only three were signalized (or mayby I am missing somthing)? Thanks again. Marcin Wiadomość napisana w dniu 2009-08-16, o godz. 09:53, przez Massimo Di

[web2py:28530] Re: logo

2009-08-13 Thread Marcin Jaworski
A Massimo Di Pierro: > Two logos have been proposed for web2py. I love them both and I would > like your opinions. Here they are attached. > > Which one should go on the main web2py page and the book? > > Vote A for the logo with the W and B for the logo with the globe. > > Poll is open for 48