Re: Good IDE setup to use for large Django projects suggestions

2008-06-03 Thread Kenneth Gonsalves
On 03-Jun-08, at 9:32 PM, The Code Janitor wrote: > (debugging isn't great, I can't figure out how to do dynamic debugging > on Django operations, and code development features such as dynamic > lookups, refactoring and unit testing are painful at best). the whole idea of shifting to python fro

Re: Good IDE setup to use for large Django projects suggestions

2008-06-03 Thread Robvdl
I'v never been happy with full blown IDE's like Eclipse, far too slow for my liking. I use Geany, they call it a 'lightweight' IDE, but don't let that deceive you, Geany actually has a lot of useful features. The Linux version has an integrated terminal (VTE), and together with Geany's project m

Re: Django way for adding a cache backend?

2008-06-03 Thread Jeremy Dunck
On Tue, Jun 3, 2008 at 2:58 PM, Joe Bowman <[EMAIL PROTECTED]> wrote: > Should I just create it and > tell people to copy it into the directory with the default cache > backends? That appears the only way to insert a new one, but I'm so > new to Django I thought I should ask first and see if

Django way for adding a cache backend?

2008-06-03 Thread Joe Bowman
Hello, I'm sure you've seen your share of new Django/Python developers come by this group since the prerelease of Google Appengine, and I'm yet another one. I'm trying to determine what the best way to add a cache backend to Django might be? Preferably I'd like to do it in a way so that it's easy

Re: Aggregation Updates

2008-06-03 Thread Nicolas Lara
On Mon, Jun 2, 2008 at 8:53 AM, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > On Sun, Jun 1, 2008 at 9:04 PM, Nicolas Lara <[EMAIL PROTECTED]> wrote: >> >> I dont mind changing it to indexes. To me it is more readable with the >> list copying/slicing. I might do a bit of profiling for that to

Re: Good IDE setup to use for large Django projects suggestions

2008-06-03 Thread Don Spaulding II
The Code Janitor wrote: > Although it is a lot smarter about python development I am wondering > if there is a better alternative. > This list is for discussion of the development *of* django, not with it (or python in general, for that matter). The django-users group is a much better forum

Good IDE setup to use for large Django projects suggestions

2008-06-03 Thread The Code Janitor
Not to start a flame war. But, having done many years of enterprise java work I am not happy with Eclipse and PyDev for python development (debugging isn't great, I can't figure out how to do dynamic debugging on Django operations, and code development features such as dynamic lookups, refactoring

Re: Lost stdout and stderr on fcgi with Django

2008-06-03 Thread The Code Janitor
Can you suggest any documentation I should read that describes how FastCGI handles PIPES and file channels. I thought something like that was happening but, if that was the case wouldn't the output to stderr and stdout end up in the rendered pages (like they do for php pages). I have poked and pr

Re: Sites M2M field in Newforms Admin

2008-06-03 Thread Robvdl
I already figured it out, by following the Django source I came up with something like this to solve the problem: def formfield_for_dbfield(self, db_field, **kwargs): if db_field.name == 'sites': kwargs['initial'] = Site.objects.filter(pk=settings.SITE_ID) return s

intcomma and locale

2008-06-03 Thread Flavio Curella
Hi, Do you think intcomma should use localized separator? If so, would still be 'intcomma' a correct name (after all, it wouldn't use commas in, for example, Italian)? I already wrote a patch which gives intcomma an optional argument. But I don't know if I should submit a ticket about intcomma

Re: {GSoC 2008}Django-Newcomments : A preview

2008-06-03 Thread Zhiwu Xie
I wonder if it would be a good idea to put the comment config (e.g., threaded or not, maximum length, pre-/post-moderation, etc) into a separate model, then let all models needing a comment have a foreign key to the comment config model. Zhiwu Thejaswi Puthraya wrote: > Hello folks, > My ex

Re: Lost stdout and stderr on fcgi with Django

2008-06-03 Thread ludvig.ericson
On Jun 2, 7:12 am, The Code Janitor <[EMAIL PROTECTED]> wrote: > The problem is that I am loosing [sic] stdout and stderr. Yes, that's how most FastCGI spawners work. They close all file descriptors, and open a new socket, then duplicate that socket's FD onto a constant known as FCGI_LISTENSOCK_F

Re: Why does patch acceptance take so long?

2008-06-03 Thread Russell Keith-Magee
On Tue, Jun 3, 2008 at 6:49 PM, Antonis Christofides <[EMAIL PROTECTED]> wrote: > > Hi, I'm first-time poster in this list, > > http://code.djangoproject.com/ticket/6994 is a minor security issue > that I submitted with a patch. It's not so much that I want this > particular patch to be reviewed a

Why does patch acceptance take so long?

2008-06-03 Thread Antonis Christofides
Hi, I'm first-time poster in this list, http://code.djangoproject.com/ticket/6994 is a minor security issue that I submitted with a patch. It's not so much that I want this particular patch to be reviewed and checked in, but that I can't figure out the development process. Specifically, there is