Re: WSGIRequest should set request.path to full uri path

2007-07-31 Thread SmileyChris
I'm no expert in this area, but perhaps we could use a thread-local middleware to keep request handy? Sort of like this wiki solution [1] but put the whole request into _thread_locals. Would there be any performance downside in doing that? Is it safe to do that? This would solve the reverse URL

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread SmileyChris
On Aug 1, 2:02 pm, mamcx <[EMAIL PROTECTED]> wrote: > Ok, > > Thanks for the pointers (and sorry for the english!). > > I work always in the last version of django, so I think is not a > problem. > > I take a look at the proposed pymssql library. So I think the best > option is build a all-new bac

Re: BooleanField and NullBooleanField (#2855 again)

2007-07-31 Thread SmileyChris
/me pulls out his horse-beating stick... First off, the patch in the ticket [1] this thread mentions isn't the correct solution. Better would be to change the .get_default() method of BooleanField. [1] http://code.djangoproject.com/ticket/2855 On Jun 25, 1:06 pm, Malcolm Tredinnick <[EMAIL PROTE

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread mamcx
Ok, Thanks for the pointers (and sorry for the english!). I work always in the last version of django, so I think is not a problem. I take a look at the proposed pymssql library. So I think the best option is build a all-new backend taking bits from the old one and see how well the thing goes..

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Russell Keith-Magee
On 8/1/07, mamcx <[EMAIL PROTECTED]> wrote: > > So, I can devote dev time to fix the non-sql server support. I have > read the code, see all the patch (and be confused for its). I'm not a > python guru but have 3 years of expertise in develop against Sql > server. Volunteers are always welcome.

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Jeremy Dunck
On 7/31/07, Joseph Kocherhans <[EMAIL PROTECTED]> wrote: > Which patch did you look at and what version of Django are you using? > You might be able to get some SQL Server support working in 3 weeks, > but I don't think you will be able to solve the pagination problem in > that amount of time. Her

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Joseph Kocherhans
On 7/31/07, mamcx <[EMAIL PROTECTED]> wrote: > > So, how proceed? To how I need to talk? These 2 posts are probably the best summary of the status of SQL Server support: http://groups.google.com/group/django-developers/browse_thread/thread/68cceeea79921b07/0dbdeb1a8c01bae4?lnk=gst&q=%22sql+serve

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Forest Bond
On Tue, Jul 31, 2007 at 09:09:41PM -0300, Julio Nobrega wrote: > He's asking how to contribute with code he's going to write. If you > weren't in such a hurry to give the standard zealot answer, perhaps > you could have seen it. I doubt very much the "standard zealot answer" would include refere

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Jeremy Dunck
On 7/31/07, mamcx <[EMAIL PROTECTED]> wrote: > So, I can devote dev time to fix the non-sql server support. I have > read the code, see all the patch (and be confused for its). I'm not a > python guru but have 3 years of expertise in develop against Sql > server. Start with pymssql, not adodbapi.

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Julio Nobrega
He's asking how to contribute with code he's going to write. If you weren't in such a hurry to give the standard zealot answer, perhaps you could have seen it. On 7/31/07, Forest Bond <[EMAIL PROTECTED]> wrote: > On Tue, Jul 31, 2007 at 09:58:57PM -, mamcx wrote: > > I have a requeriment to

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Jeremy Dunck
On 7/31/07, Forest Bond <[EMAIL PROTECTED]> wrote: > On Tue, Jul 31, 2007 at 09:58:57PM -, mamcx wrote: > > I have a requeriment to support Sql Server in a outsourced contract. > > Is a must, a requeriment for delivery. So, I can't wait anymore for > > free open source hacking... > > You know,

Re: Tickets for comment/BDFL approval

2007-07-31 Thread Phil Davis
On 31/07/07, Gary Wilson <[EMAIL PROTECTED]> wrote: [...] > The save_m2m() seems a bit weird to me too. Sometimes it's there, > sometimes it's not. Also, this sort of logic seems to me like it should > be in the Model class instead. After all, it's not the form that has > the problem with not s

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Forest Bond
On Tue, Jul 31, 2007 at 09:58:57PM -, mamcx wrote: > I have a requeriment to support Sql Server in a outsourced contract. > Is a must, a requeriment for delivery. So, I can't wait anymore for > free open source hacking... You know, I never could figure out why someone who is benefiting from an

Re: I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread Joseph Heck
I'd be very surprised if we had a release in the next three weeks with this kind of support. My guess is you might check the development trunk (http://code.djangoproject.com/browser/django/trunk/django/db/backends/ado_mssql) and try it out to see if it works acceptably for you needs. I'm sure t

I need fix "non proper sql server support" in the next 3 weeks. What is next?

2007-07-31 Thread mamcx
I have a requeriment to support Sql Server in a outsourced contract. Is a must, a requeriment for delivery. So, I can't wait anymore for free open source hacking... Like somebody can see in my history in the users group, I'm strongly in the windows world because my company http://www.elmalabarist

Re: Tickets for comment/BDFL approval

2007-07-31 Thread Gary Wilson
Russell Keith-Magee wrote: > #3297 - FileField/ImageField for newforms > http://code.djangoproject.com/ticket/3297 +1 > #4001 - saving m2m fields on newforms with commit=False > http://code.djangoproject.com/ticket/4001 -1 The save_m2m() seems a bit weird to me too. Sometimes it's there, some

Regroup tag with intervals

2007-07-31 Thread sime
Hi all I have a patch to the regroup tag which allows -- Regroup into any number of groups, of set size -- {% regroup list every 4 as grouped %} Regroup into set number of groups, at any size -- {% regroup list into 4 as grouped %} I've found this indispensable in rendering unordered lists wher

Re: Tickets for comment/BDFL approval

2007-07-31 Thread Jacob Kaplan-Moss
On 7/31/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > #3297 - FileField/ImageField for newforms > http://code.djangoproject.com/ticket/3297 > > #4001 - saving m2m fields on newforms with commit=False > http://code.djangoproject.com/ticket/4001 > > #4418 - Newforms media > http://code.django

Re: Tickets for comment/BDFL approval

2007-07-31 Thread Malcolm Tredinnick
Hey Russ, On Tue, 2007-07-31 at 21:59 +0800, Russell Keith-Magee wrote: > Hi all (and especially Adrian), > > I appreciate that everyone is very busy with OSCON travel and other > work commitments, but I've got a few big tickets that have queued up > over the last month or so waiting on comment

Re: #3297 (newforms FileField/ImageField) - Feedback requested

2007-07-31 Thread [EMAIL PROTECTED]
Ok, I agree. The implementations seemed a bit hackish to me aswell. Starting a new ticket for this #5029 On Jul 31, 1:48 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]> wrote: > On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > I tried some tricks to get this working as I think

Tickets for comment/BDFL approval

2007-07-31 Thread Russell Keith-Magee
Hi all (and especially Adrian), I appreciate that everyone is very busy with OSCON travel and other work commitments, but I've got a few big tickets that have queued up over the last month or so waiting on comments and/or BDFL blessing for checkin. If at all possible, I'd appreciate some eyeball

Re: #3297 (newforms FileField/ImageField) - Feedback requested

2007-07-31 Thread Russell Keith-Magee
On 7/24/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I tried some tricks to get this working as I think it should to keep > backwards compatibility for those with special file naming > requirements. > > Please give some feedback and tell me if i'm way off course. :) Hi Oyvind, Apologies