Add a "split" field to a model causes problems

2012-10-23 Thread Andrew Ingram
Hi all, This one stung me today. Basically as part of an event (calendar) app, I have functionality for splitting a series of events into two at a given timestamp. The details aren't particularly relevant, but the key thing is that I had a method called "split" on one of the models. This was w

Re: Streaming HttpResponse revisted. Any core devs, please take a look if you can :)

2012-10-23 Thread Anssi Kääriäinen
On 23 loka, 00:51, Aymeric Augustin wrote: > Hello, > > While I'm working on HttpResponse, I'd like to resolve two related tickets. > Here's my plan for discussion. > > #6527 is about normalizing how HttpResponse deals with iterators. For more > background, see part 1 of the first email of this

Re: finding the source of "interesting" SQL queries

2012-10-23 Thread Marty Woodlee
So the straw man solution we've implemented for now looks like this. (Background: we have a settings.THREADLOCALS construct which serves in a capacity similar to Ned's global requests; also, our monkeypatch_method decorator does what you probably think it does.) First, we've a tiny bit of middl

Re: Add a "split" field to a model causes problems

2012-10-23 Thread Russell Keith-Magee
On Tue, Oct 23, 2012 at 6:52 PM, Andrew Ingram wrote: > Hi all, > > This one stung me today. Basically as part of an event (calendar) app, I > have functionality for splitting a series of events into two at a given > timestamp. The details aren't particularly relevant, but the key thing is > that

Re: Add a "split" field to a model causes problems

2012-10-23 Thread Alex Gaynor
On Tue, Oct 23, 2012 at 5:11 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > > > On Tue, Oct 23, 2012 at 6:52 PM, Andrew Ingram wrote: > >> Hi all, >> >> This one stung me today. Basically as part of an event (calendar) app, I >> have functionality for splitting a series of events into