Re: [web2py] Unsigned int in DAL

2012-11-21 Thread Joseph Piron
Finally I will go with something hand made but would be great to think on this :) Just a thing, in mysql unsigned exists, that's one of the column properties. On 17 Nov 2012, at 15:57, Niphlod wrote: > ps: checked a little and probably found out because web2py doesn't have a > default type for

Re: [web2py] Unsigned int in DAL

2012-11-17 Thread Joseph Piron
BigInt -> twice the same space required, I'am not sure that's why they exists.. sql.log -> indeed, could do it this way, but, why is everything else possible with the DAL (up to now)? On 17 Nov 2012, at 14:09, Niphlod wrote: > > I know 2**31, I meant the value: 2147483648 :) > And while the I

Re: [web2py] Unsigned int in DAL

2012-11-16 Thread Joseph Piron
I am working with mysql, there's no way to do this without an alter table ? (Which would be executed at each request moreover) On Nov 16, 2012 5:25 PM, "Marin Pranjić" wrote: > You can use integer for development. In production, you can alter the > database with raw sql to change the field. > DAL

Re: [web2py] Add count in db.parse_as_rest output

2012-05-20 Thread Joseph Piron
Massimo, here is the patch. Thanks ! On 19 May 2012, at 21:42, Massimo Di Pierro wrote: > yes please. Following this mailing list is getting more and more difficult > and number of posts increases. > > On Friday, 18 May 2012 17:26:22 UTC-5, howesc wrote: > you could submit a patchit's

Re: [web2py] Add count in db.parse_as_rest output

2012-05-19 Thread Joseph Piron
No problem, I'll send you a diff patch :) Thanks ! On 19 May 2012, at 21:42, Massimo Di Pierro wrote: > yes please. Following this mailing list is getting more and more difficult > and number of posts increases. > > On Friday, 18 May 2012 17:26:22 UTC-5, howesc wrote: > you could submit a pat

Re: [web2py] Content-type header for HTTP exception incorrectly set ?

2012-04-23 Thread Joseph Piron
Could someone give me a link pointer ? :) Thanks. On 16 Apr 2012, at 16:19, Jonathan Lundell wrote: > On Apr 16, 2012, at 7:02 AM, Massimo Di Pierro wrote: >> Shame on me. Than it is a bug. Please open a ticket on google code. web2py >> sets the content-type correctly in gluon/main.html but it

Re: [web2py] Validating row

2012-04-23 Thread Joseph Piron
Actually, I was looking at custom validator but didn't think about request.vars. Excellent suggestion, it works perfectly :) For inI do not need server generated forms as I use extjs as client frontend. Thanks again !!! On 22 Apr 2012, at 18:42, Anthony wrote: > There are no full row validators.

Re: [web2py] Content-type header for HTTP exception incorrectly set ?

2012-04-18 Thread Joseph Piron
Happy to help. Indeed content should also, for now I json.dumps things.. Just a question, where is the tracker ? This one seems ... not functional ? http://code.google.com/p/web2py-issuetracker/updates/list Br. On 16 Apr 2012, at 16:19, Jonathan Lundell wrote: > On Apr 16, 2012, at 7:02 AM, Ma

Re: [web2py] Content-type header for HTTP exception incorrectly set ?

2012-04-16 Thread Joseph Piron
Json indeed :) On 16 Apr 2012, at 15:44, Jonathan Lundell wrote: > On Apr 16, 2012, at 6:24 AM, Massimo Di Pierro wrote: >> Because IE browsers, when they receive a error page (HTTP x!=200) and the >> content is less than a certain size, they choose to ignore the content and >> display an uninf

Re: [web2py] Re: Routes.py parameter, rewrite rules and redirect

2012-04-02 Thread Joseph Piron
Indeed, makes sense. Thanks for the confirmation :) On 02 Apr 2012, at 16:02, Jonathan Lundell wrote: > On Apr 2, 2012, at 3:27 AM, Joseph.Piron wrote: >> Ah, and another simple question, maybe dull.. :) >> >> Does the domains option have any use when web2py's app is served from a >> apache or

Re: [web2py] Re: Routes.py parameter, rewrite rules and redirect

2012-04-02 Thread Joseph Piron
Nice! I am gonna try that ! On 02 Apr 2012, at 14:50, Anthony wrote: > If you want the default app removed from static URLs, you have to set > map_static=True in your router (see > http://code.google.com/p/web2py/source/browse/router.example.py#64). However, > if your web server (e.g., Apache