Re: Implementing postgres database timeouts

2009-02-02 Thread Malcolm Tredinnick
On Mon, 2009-02-02 at 10:16 -0800, RahulDave wrote: > Hi Folks, > I have a django astronomy application which fronts a 73 million row > main table and 150 million row secondary table database, highly > indexed of-course. The back-end database is postgres. The application > itself is two-fold, a we

Re: module to run django under mod_fcgid

2009-02-02 Thread Malcolm Tredinnick
On Mon, 2009-02-02 at 05:57 -0800, Mike wrote: > With a modified version of Robin Dunn's fcgi.py module that adapts > fcgi to wsgi, I've set up Django to run under mod_fcgid. One good > thing about mod_fcgid is that it does all process management for you, > which makes this setup quite straightfor

Re: Implementing postgres database timeouts

2009-02-02 Thread RahulDave
Thought I should perhaps be more illustrative of the problem. At django shell: -- In [2]: from lcdb.maindb.models import LCOT In [3]: from lcdb.maindb.models import Snippet In [4]: bset=LCOT.objects.all() In [5]: bset Out[5]: [] In [6]: meanwhile at postgres logs: LOG:

Re: an attempt to check in a patch and understand contribution better

2009-02-02 Thread Jacob Kaplan-Moss
On Mon, Feb 2, 2009 at 2:09 PM, Jacob Fenwick wrote: > 1. By svnmerge I assume you mean this program: > http://www.orcaware.com/svn/wiki/Svnmerge.py Yeah, that's right; it takes the gruntwork out of merging between SVN branches. IIRC it's built into SVN 1.5; I've just not bothered learning if I

Re: an attempt to check in a patch and understand contribution better

2009-02-02 Thread Jacob Fenwick
On Mon, Feb 2, 2009 at 2:35 PM, Jacob Kaplan-Moss < jacob.kaplanm...@gmail.com> wrote: > For most smaller patches you don't need a patch against multiple > versions -- we use automated merging tools (svnmerge, git) to merge > patches back to the maintenance branches where needed. Testing that > th

Re: an attempt to check in a patch and understand contribution better

2009-02-02 Thread Jacob Kaplan-Moss
On Mon, Feb 2, 2009 at 1:07 PM, Jacob Fenwick wrote: > 1. Gain a deeper understanding of the system of contributing to Django. > 2. Checkin a patch that I've attached to a ticket, preferably to all > versions of Django. Great -- we're happy to have the help! I'm assuming from your specific ques

an attempt to check in a patch and understand contribution better

2009-02-02 Thread Jacob Fenwick
I have two long term goal associated with this email: 1. Gain a deeper understanding of the system of contributing to Django. 2. Checkin a patch that I've attached to a ticket, preferably to all versions of Django. To achieve goal 1, I plan on learning the process to complete goal 2. Here is the

Implementing postgres database timeouts

2009-02-02 Thread RahulDave
Hi Folks, I have a django astronomy application which fronts a 73 million row main table and 150 million row secondary table database, highly indexed of-course. The back-end database is postgres. The application itself is two-fold, a web services backend which can tolerate extremely long queries a

App settings

2009-02-02 Thread mrts
Whenever the app objects discussion is resuscitated, the following by yours truly may be of relevance: http://github.com/mrts/plugit/tree/master As of now, settings handling is present. The SettingsUpdater class in plugit/settingshandler.py provides a high-level API for updating configuration fi

Re: Multiple attach files...

2009-02-02 Thread Waylan Limberg
Hi Marcello, This list it for the development of Django itself. For usage questions, use the django-users [1] list. Or, you may find the django-brasil [2] list more helpful. [1]: http://groups.google.com/group/django-users [2]: http://groups.google.com/group/django-brasil On Mon, Feb 2, 2009 at

Multiple attach files...

2009-02-02 Thread Marcello(Harry)
Hi every one, my name is marcello, i'm from brazil, i'm new here and i'm not expert with django but i try! =) So... i have some question about multiple attach files, if multiple attach file have discussed here before!? Can i try dev this new models class or classes!? sorry about my english... a

Re: module to run django under mod_fcgid

2009-02-02 Thread Mike
Thank you for your reply - I'll try the places you listed. Logging in to the ticket system didn't get me past the spam filter though. On Feb 2, 9:44 am, Waylan Limberg wrote: > On Mon, Feb 2, 2009 at 8:57 AM, Mike wrote: > > > I tried to post this to the django ticket system but got rejected by

Re: module to run django under mod_fcgid

2009-02-02 Thread Waylan Limberg
On Mon, Feb 2, 2009 at 8:57 AM, Mike wrote: > > I tried to post this to the django ticket system but got rejected by > the spam filter twice (prompting me to leave a rude message, I > apologize). If there is any interest in this, could someone advise > where to post the code? Thanks. > Hey Mike,

module to run django under mod_fcgid

2009-02-02 Thread Mike
With a modified version of Robin Dunn's fcgi.py module that adapts fcgi to wsgi, I've set up Django to run under mod_fcgid. One good thing about mod_fcgid is that it does all process management for you, which makes this setup quite straightforward. Also, since Robin's module works both in a cgi a