[web2py] Re: web2py setup scripts for windows

2014-09-15 Thread Tim Richardson
In any case, a cygwin solution won't let me use the python win32 libraries.

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] web2py meetup with Massimo in north Bay Area

2014-09-15 Thread weheh
Target early December. How much interest? Looking for another speaker. 

Will try to leverage python user's group. Otherwise, I have a nice room on 
UC Berkeley campus large enough for 20+.

Trying to get a measure of the audience. 1 additional volunteer speaker 
requested.

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: How to return a more specific error message from auth.login(), rather than a generic "invalid login"

2014-09-15 Thread Anthony
On Monday, September 15, 2014 2:20:06 PM UTC-4, Mark Li wrote:
>
> Ahhh, that is quite frustrating! I see this a quite a big usability 
> improvement at virtually no cost to security; would an optional parameter 
> like auth.login(return_specific_error=True) still fail security checks for 
> owasp?
>

Maybe post a Google Code issue requesting something like this. I think 
maybe we could adjust the code to pass the reason for the failure to the 
login_onfail callback, which could then change the session flash or set 
some other flag in the session (no need for a new return_specific_error 
argument).

Anthony 

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: How to return a more specific error message from auth.login(), rather than a generic "invalid login"

2014-09-15 Thread Leonel Câmara
It's not very hard. Here's one way to do it with just changes to the 
included welcome application's default user controller.


def user():
"""exposes:http:///[app]/default/user/login
http:///[app]/default/user/logout
http:///[app]/default/user/register
http:///[app]/default/user/profile
http:///[app]/default/user/retrieve_password
http:///[app]/default/user/change_password
http:///[app]/default/user/manage_users (requires membership inuse 
@auth.requires_login()@auth.requires_membership('group name')
@auth.requires_permission('read','table name',record_id)to decorate 
functions that need access control"""

def invalid_login():
table_user = auth.table_user()
username = auth.settings.login_userfield or 'username' if 'username' in 
table_user.fields else 'email'

if username in request.vars:
entered_username = request.vars[username]
if auth.settings.multi_login and '@' in entered_username:
# if '@' in username check for email, not username
user = table_user(email = entered_username)
else:
user = table_user(**{username: entered_username})

if user:
# If the user exists then the password must be invalid
return auth.messages.invalid_password
return auth.messages.invalid_user

if request.args(0) == 'login' and request.vars:
auth.messages.invalid_login = invalid_login()

return dict(form=auth())

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] auth.login() does not return input value (username) on error, if auth.define_tables(username=True).

2014-09-15 Thread Mark Li
After submitting a failed login attempt with auth.login(), the failed 
username input is not returned (it is cleared out). This is not a problem 
when auth.define_tables(username=False), which would return the failed 
email input upon login error. But, when username=True, the form no longer 
returns the failed input after a login error. This would be an important 
issue for users, because they don't see their failed credentials that they 
previously typed (excluding the password).

I added a print request.function to the model, and after a failed login 
attempt (with auth.define_tables(username=True)), there is a double 
redirect, which seemed to cause problems previously as well: 
https://groups.google.com/forum/#!searchin/web2py/auth.login$20return$20username/web2py/9omfJYNoOC8/RrLOgeXENvMJ

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Database design question regarding the usage of supertypes for a web2py project

2014-09-15 Thread Jan Beilicke
I chose approach B and it works fine. Thanks for mentioning drop downs.

Kind regards,

Jan

Am Donnerstag, 11. September 2014 17:24:40 UTC+2 schrieb Richard:
>
> B will help you filter your drop down of component package if you can only 
> have in a package the same supertype component.
>
> Difficults to say without concrete example. 
>
> Richard
>
> On Thu, Sep 11, 2014 at 9:58 AM, Jan Beilicke  > wrote:
>
>> These are just sample names. In reality they are separate business/use 
>> case entities sharing only the same supertype, they are not enumerated.
>>
>> Am Donnerstag, 11. September 2014 15:42:47 UTC+2 schrieb Richard:
>>>
>>> Why component_a, _b, _c... You will end up create new table all the 
>>> time...
>>>
>>> Richard
>>>
>>> On Thu, Sep 11, 2014 at 7:04 AM, Jan Beilicke  
>>> wrote:
>>>
 Hi everyone,

 I'm working on a web2py project which requires a complex relationship 
 model. I want to use a model that works well with web2py's DAL and I would 
 be glad if somebody could point me into the right direction.

 I created a small sample ER diagram to illustrate my problem, only the 
 important parts are displayed and the table names are generalized for 
 easier understanding. The database has a couple of tables (or business 
 objects), most of them are depending on some supertype, let's call it 
 'component_type', the subtypes 'component_[a-z]'. 

 The business case requires to create a component_package which contains 
 required components, but *all components in the package must be of the 
 same component_type.*

 Two possible variants are shown in the illustration:

 Variant A: The component_package contains the foreign keys of the 
 component tables.
 Variant B: The package additionally contains the foreign key of the 
 component_type table.

 Which variant would you recommend and which one might work better with 
 DAL? Unfortunately, all the resources and database design documents I 
 found 
 in the web were only explaining the general supertype/subtype relation.

 Thank you in advance and
 kind regards,

 Jan


 

  -- 
 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 "web2py-users" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to web2py+un...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  -- 
>> 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 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: Reload a component form another component without submit form

2014-09-15 Thread Niphlod
that's not going to save you from any troubles.

did you read the jquery docs about on() ?

especially 

*Event handlers are bound only to the currently selected elements; they 
must exist on the page at the time your code makes the call to .on().* To 
ensure the elements are present and can be selected, perform event binding 
inside a document ready handler for elements that are in the HTML markup on 
the page. If new HTML is being injected into the page, select the elements 
and attach event handlers *after* the new HTML is placed into the page. Or, 
use delegated events to attach an event handler, as described next.

and what it follows ?

esp. the difference from

$( "#dataTable tbody tr" ).on( "click", function() {
alert( $( this ).text() );
});

and

$( "#dataTable tbody" ).on( "click", "tr", function() {
alert( $( this ).text() );
});



On Monday, September 15, 2014 1:44:49 PM UTC+2, Michel Krav wrote:
>
>
> Thanks Niphlod using the on() function:
> 
> jQuery(document).ready(function() 
> {
>  jQuery('tr.w2p_even.even.with_id,tr.w2p_odd.odd.with_id ').on(
> "dblclick",function() {
>   
>   var sid =  jQuery(this).prop('id');
>   
>   ajax( "{{=URL('default', 'on_card_selected.html' ) }}",[],
> 'target');
>   
>   }
>   
>   );
> }
> );
> 
>
> solve my first pb.
>
> For the other point, I still get None to my ajax call in this script, 
> maybe ajax is not the solution to reload my first component, any way to 
> follow ?
>
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: How to return a more specific error message from auth.login(), rather than a generic "invalid login"

2014-09-15 Thread Mark Li
Ahhh, that is quite frustrating! I see this a quite a big usability 
improvement at virtually no cost to security; would an optional parameter 
like auth.login(return_specific_error=True) still fail security checks for 
owasp?

If this isn't possible at a web2py framework level, I'd like to know how 
do-able or advisable it would be to implement my own login method, where 
everything would virtually be the same as auth.login(), but it would return 
specific error messages.

On Friday, September 12, 2014 2:43:35 PM UTC-7, Derek wrote:
>
> You and I understand that, but that doesn't make it any more valid to 
> return more specific login error related information.
>
> https://www.owasp.org/index.php/Authentication_Cheat_Sheet#User_IDs
>
> If we want to pass security checks for 'owasp' then we have to have 
> generic messages for login failures. Boneheaded as it may be, it's what 
> people expect secure software to do.
>
> On Thursday, September 11, 2014 1:49:36 PM UTC-7, Mark Li wrote:
>>
>> Looking through the source for auth.login(), it seems that the same 
>> "invalid login" error is given no matter what the particular error is 
>> (either username/email, or the password is wrong).
>>
>> I wanted to know if it is possible to return a more specific error msg 
>> after a failed login. If I use username and password as my login inputs, 
>> then I want to know the cause of a failed login:
>> 1. Is the username in the database?
>> 2. Is the password correct for that username?
>>
>> MailChimp did a brief write-up about this: 
>> http://blog.mailchimp.com/social-login-buttons-arent-worth-it/, where 
>> giving users a specific error msg had a very big impact on reducing login 
>> failure rates. They also addressed the security issue of being vague for 
>> login failure errors; it was determined to be a false risk. You can find 
>> out whether or not a username is taken through the registration form 
>> anyway, so providing a specific error msg on the login page does not tell 
>> you any more information than the registration page.
>>
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] getting " [Errno 13] Permission denied" over and over

2014-09-15 Thread Willoughby
I'm late to this thread but one issue I always run into with web2py on 
Windows (well, anything with SQLite) are virus scanners randomly locking 
files.  Especially if they're corporate network machines.  That's another 
avenue you might look into.

On Thursday, September 4, 2014 3:22:47 AM UTC-4, Johann Spies wrote:
>
> On 3 September 2014 23:31, JorgeH > wrote:
>
> I discovered that by cleaning errors, cache and sessions, its work again. 
>> But now Im getting the error like every other time I test.
>>
>> Any hints??
>>
>>
> Which user owns web2py/applications//models?
>
> Regards
> Johann
>
> -- 
> Because experiencing your loyal love is better than life itself, 
> my lips will praise you.  (Psalm 63:3)
>  

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Re: ssl certificate?

2014-09-15 Thread Anthony

>
> For non-free certificates, various Comodo, GeoTrust or Thawte resellers 
> have certificates in the 5 to 30 USD per year range (email / domain 
> verification). If you need business entity verification, prices are higher. 
> In any case, prices have plummeted in the last few years


The $59.90 cert from StartSSL is probably about the cheapest wildcard cert 
you can get (allows unlimited subdomains). The lower cost ones mentioned 
above are typically for single domains (no wildcard).

Namecheap.com seems to be a good place for discounted certs (relative to 
the price of buying direct from the CA).

Anthony

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] web2py 2.9.10 is OUT

2014-09-15 Thread Massimo Di Pierro
web2py 2.9.10 is out. It fixes some important bugs and upgrades some 
contrib. packages.


-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: get hidden input value in controller

2014-09-15 Thread T.R.Rajkumar
Thanks Anthony, its now working.

On Tuesday, September 9, 2014 4:20:48 PM UTC+5:30, T.R.Rajkumar wrote:
>
>
> I have a hidden input in form. I set the hidden value in client by java 
> script. But I am not able to get the value in request.vars or 
> request.post_vars in controller. It returns None. How to get the hidden 
> input values in controller.? I generate the form in controller and is post 
> method.
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] set onblur event in controller

2014-09-15 Thread T.R.Rajkumar
How to set the _onblur event of an INPUT in controller to a function in 
static/js/x.js file? 

-- 
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 
"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, visit https://groups.google.com/d/optout.


[web2py] Re: Reload a component form another component without submit form

2014-09-15 Thread Michel Krav

Thanks Niphlod using the on() function:

jQuery(document).ready(function() 
{
 jQuery('tr.w2p_even.even.with_id,tr.w2p_odd.odd.with_id ').on(
"dblclick",function() {

var sid =  jQuery(this).prop('id');

ajax( "{{=URL('default', 'on_card_selected.html' ) }}",[],
'target');

}

);
}
);


solve my first pb.

For the other point, I still get None to my ajax call in this script, maybe 
ajax is not the solution to reload my first component, any way to follow ?

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Re: ssl certificate?

2014-09-15 Thread LightDot
In my experience, startssl staff manually checks the site for which the 
certificate is requested for (non)commercial content. Some borderline sites 
pass, some don't. If this is for web2py.com itself, I think there shouldn't 
be any issues.

For non-free certificates, various Comodo, GeoTrust or Thawte resellers 
have certificates in the 5 to 30 USD per year range (email / domain 
verification). If you need business entity verification, prices are higher. 
In any case, prices have plummeted in the last few years.

Can't recommend anyone in particular, though.

Regards

On Monday, September 15, 2014 1:54:15 PM UTC+2, Anthony wrote:
>
> Note, the free one is supposed to be limited to non-commercial use.
>
> On Monday, September 15, 2014 5:05:20 AM UTC-4, Michele Comitini wrote:
>>
>> +1
>>  startssl.com class 1 certificate is good if you do not need anything 
>> fancy.
>>
>> 2014-09-15 3:51 GMT+02:00 Anthony >:
>>
>>> Check out StartSSL: http://www.startssl.com/?app=39
>>>
>>> They offer Class 1 certificates for free. $59.90 for Class 2 /3.
>>>
>>> Anthony 
>>>
>>> On Sunday, September 14, 2014 9:30:45 PM UTC-4, Massimo Di Pierro wrote:

 Any recommendation about where to buy a cheat ssl certificate? I have 
 used RapidSSL before. 
>>>
>>>  -- 
>>> 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 "web2py-users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to web2py+un...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Login password changed

2014-09-15 Thread Manuele Pesenti
Il 14/09/14 19:18, 'FERNANDO VILLARROEL' via web2py-users ha scritto:
> How i can have a log of events for know  who is change the password?
you can consider to use auth.signature for you auth_user table look
theese documentation pages from the manual:

http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer?search=auth.signature#Table-inheritance
http://web2py.com/books/default/chapter/29/09/access-control?search=settings.extra_fields#Customizing-Auth

M.

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Re: ssl certificate?

2014-09-15 Thread Anthony
Note, the free one is supposed to be limited to non-commercial use.

On Monday, September 15, 2014 5:05:20 AM UTC-4, Michele Comitini wrote:
>
> +1
>  startssl.com class 1 certificate is good if you do not need anything 
> fancy.
>
> 2014-09-15 3:51 GMT+02:00 Anthony :
>
>> Check out StartSSL: http://www.startssl.com/?app=39
>>
>> They offer Class 1 certificates for free. $59.90 for Class 2 /3.
>>
>> Anthony 
>>
>> On Sunday, September 14, 2014 9:30:45 PM UTC-4, Massimo Di Pierro wrote:
>>>
>>> Any recommendation about where to buy a cheat ssl certificate? I have 
>>> used RapidSSL before. 
>>
>>  -- 
>> 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 
>> "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, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Re: Beginner issues

2014-09-15 Thread Richard Vézina
You can also, create your own custom validator...

Richard

On Sun, Sep 14, 2014 at 4:54 PM, Niphlod  wrote:

> you need an onvalidate call
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#onvalidation
>
>
> On Sunday, September 14, 2014 8:02:30 PM UTC+2, Jean-Paul McCoy wrote:
>>
>> I am not an expert but it seems that you need a two stage validation, for
>> which I would use AJAX form submission.
>>
>> On Thursday, September 11, 2014 5:22:04 AM UTC-7, Pedro Henrique Correa
>> Ferreira wrote:
>>>
>>> Hey, lads!
>>>
>>> How you're doing?
>>>
>>> I've got a issue with data validation. I gotta use a validator that
>>> depends on a previous field from the same table, for example:
>>>
>>> db.define_table(
>>>'driver',
>>>Field('your_age'),
>>>Field('years_as_driver'), #requires IS_INT_IN_RANGE (0,(your_age-18)
>>>Field('years_with_current_car'), #requires IS_INT_IN_RANGE (0,
>>> (years_as_driver +1)
>>>
>>> How is the correct way to do that?
>>>
>>> Thanks.
>>>
>>  --
> 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
> "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, visit https://groups.google.com/d/optout.
>

-- 
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 
"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, visit https://groups.google.com/d/optout.


Re: [web2py] Re: ssl certificate?

2014-09-15 Thread Michele Comitini
+1
 startssl.com class 1 certificate is good if you do not need anything fancy.

2014-09-15 3:51 GMT+02:00 Anthony :

> Check out StartSSL: http://www.startssl.com/?app=39
>
> They offer Class 1 certificates for free. $59.90 for Class 2 /3.
>
> Anthony
>
> On Sunday, September 14, 2014 9:30:45 PM UTC-4, Massimo Di Pierro wrote:
>>
>> Any recommendation about where to buy a cheat ssl certificate? I have
>> used RapidSSL before.
>
>  --
> 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
> "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, visit https://groups.google.com/d/optout.
>

-- 
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 
"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, visit https://groups.google.com/d/optout.