Re: Implementing postgres database timeouts

2009-02-03 Thread Malcolm Tredinnick
On Tue, 2009-02-03 at 07:03 -0800, RahulDave wrote: > Thanks for the reply! > > On Feb 3, 1:25 am, Malcolm Tredinnick > wrote: > > > > > > My first question is , how could I wrap eachdjangoquery in such a > > > set of stataemtns. I could figure that its the web ui

Re: module to run django under mod_fcgid

2009-02-03 Thread Malcolm Tredinnick
On Tue, 2009-02-03 at 11:19 -0800, Mike wrote: > > > I understand that it's possible this handler may offer some alternative > > options that in some situation is better or different from any existing > > option. > > Such as, mod_fcgid is already installed for running perl, ruby, php. > Some

Re: #7210 - F() Query Expressions

2009-02-03 Thread Justin Bronn
> The main issue I flagged to Russell in some code review notes was > whether the code needed to be able to handle get_placeholder() output, > instead of hard-coding "%s" everywhere for parameters. If there were > particular column comparisons that required a more massaged approach to > getting

Re: reason for missing readline() in uploaded files?

2009-02-03 Thread Julien Phalip
On Feb 4, 3:12 am, Marty Alchin wrote: > I suppose I should probably weigh in over here. For those who don't > know, I worked on much of Django's file handling, refactoring > FileField, adding storage options and standardizing the File interface > across models, forms,

Re: module to run django under mod_fcgid

2009-02-03 Thread Mike
> I understand that it's possible this handler may offer some alternative > options that in some situation is better or different from any existing > option. Such as, mod_fcgid is already installed for running perl, ruby, php. Some hosts still do not support django, so there may well be

Re: reason for missing readline() in uploaded files?

2009-02-03 Thread Ivan Sagalaev
Marty Alchin wrote: > I'm not opposed to adding readline(). It's part of the standard file > protocol BTW, it's required by PIL when it reads file objects. So it's useful in practice, not only for completeness. --~--~-~--~~~---~--~~ You received this message

Re: reason for missing readline() in uploaded files?

2009-02-03 Thread Marty Alchin
I suppose I should probably weigh in over here. For those who don't know, I worked on much of Django's file handling, refactoring FileField, adding storage options and standardizing the File interface across models, forms, storage and uploads. If there are methods missing, I'm almost certainly

Re: reason for missing readline() in uploaded files?

2009-02-03 Thread Ales Zoulek
I'd prefer explicit mapping in a way: for methodname in ('seek', 'tell', 'readline'): # Map methodname File.file. to django's File. 1] You easy way to control mapping 2] You don't repeat yourself 3] Explicit and readable system 4] You avoid you're "queasy feeling" BTW: What if python file

Re: Implementing postgres database timeouts

2009-02-03 Thread RahulDave
Thanks for the reply! On Feb 3, 1:25 am, Malcolm Tredinnick wrote: > > > My first question is , how could I wrap eachdjangoquery in such a > > set of stataemtns. I could figure that its the web ui from a custom > > header or user agent and set this , but its not