Re: Thoughts on solution to forward references in MySQL (#3615)

2011-07-06 Thread Carl Meyer
Hi Russell and Jim, On 07/06/2011 05:34 PM, Russell Keith-Magee wrote: > On Thu, Jul 7, 2011 at 5:05 AM, Jim D. wrote: >> * There's a DB feature can_defer_constraint_checks . I couldn't find much >> by way of documentation or or usage of this feature. But I was trying to

Re: Thoughts on solution to forward references in MySQL (#3615)

2011-07-06 Thread Andy Dustman
If you aren't using InnoDB, then it probably doesn't matter if you turn foreign key checks on or off: it becomes a no-op. There are some other storage engines that support transactions, and some of them might "do the right thing" with respect to deferred foreign key checks, but I think it does no

Re: [GSOC] Template Engine Compilation and Runtime Refactoring Progress

2011-07-06 Thread Armin Ronacher
Hi, Status of this week: I spend the last week mostly trying to figure out how to debug a bunch of annoying issues and due to the slow progress I decided on doing an AST -> Python code translation for debugging purposes. The identifier tracking method I naively started using initially (which

Re: Thoughts on solution to forward references in MySQL (#3615)

2011-07-06 Thread Russell Keith-Magee
On Thu, Jul 7, 2011 at 5:05 AM, Jim D. wrote: > Are any core devs interested in taking a closer look at the current patch on > this ticket (https://code.djangoproject.com/ticket/3615)? It's been through > several rounds of revision after discussion here and on the ticket

Re: FilePathField and stale choices

2011-07-06 Thread Luke Plant
On 06/07/11 21:41, Daniel Swarbrick wrote: > Or can we perhaps even add an option to FilePathField that would > refresh the choices each time? I'm not entirely sure how that would > work... proxy function maybe? That sounds like a reasonable idea to me, since doing it by default could impose a

Re: Thoughts on solution to forward references in MySQL (#3615)

2011-07-06 Thread Jim D.
Are any core devs interested in taking a closer look at the current patch on this ticket (https://code.djangoproject.com/ticket/3615)? It's been through several rounds of revision after discussion here and on the ticket comment thread. As of right now the patch should apply cleanly and pass

Re: Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Hi Luke, Strange, I performed a bare test and I can't seem to reproduce the problem. I then tried to replicate the problem in the existing code, and it doesn't happen any more. Some changes were being made earlier today to our L7 traffic inspection appliance, so I suspect this might have been

Re: Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Ah, okay I'll do it on both 1.2 and 1.3 to determine if it is/was a bug. Cal On Wed, Jul 6, 2011 at 7:18 PM, Luke Plant wrote: > On 06/07/11 18:12, Cal Leeming [Simplicity Media Ltd] wrote: >> Hi Luke, >> >> Thanks for the reply. >> >> I'll set up a test case in a fresh

Re: Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Luke Plant
On 06/07/11 18:12, Cal Leeming [Simplicity Media Ltd] wrote: > Hi Luke, > > Thanks for the reply. > > I'll set up a test case in a fresh 1.2 django instance, and will let > you know the results (and the code used). If it's not present in 1.3/trunk, there won't be bug fixes for it (unless it is

Re: Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Hi Luke, Thanks for the reply. I'll set up a test case in a fresh 1.2 django instance, and will let you know the results (and the code used). Cal On Wed, Jul 6, 2011 at 5:41 PM, Luke Plant wrote: > On 06/07/11 15:43, Cal Leeming [Simplicity Media Ltd] wrote: >> Today I

Re: Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Luke Plant
On 06/07/11 15:43, Cal Leeming [Simplicity Media Ltd] wrote: > Today I came across a very strange problem. > > When attempting to post a form (without the CSRF middleware being > present in MIDDLEWARE_CLASSES), django would *always* return a blank > page. If the post contained no data, it would

Blank page returned on POST if csrf middleware is not configured... bug?

2011-07-06 Thread Cal Leeming [Simplicity Media Ltd]
Today I came across a very strange problem. When attempting to post a form (without the CSRF middleware being present in MIDDLEWARE_CLASSES), django would *always* return a blank page. If the post contained no data, it would come back fine, but if it did contain data, it would come back blank.

Re: Weekly check-in (this should be #5, right...?)

2011-07-06 Thread Michal Petrucha
On Tue, Jul 05, 2011 at 03:39:53PM -0700, akaariai wrote: > I did a glance-over of your github branch. I was especially looking > for how you will handle LEFT OUTER JOINS involving composite primary > keys / foreign keys. If I am not missing something, I think this > haven't been done yet. I have

Problem with reversing namespaced URLs by a view name

2011-07-06 Thread MikoĊ‚aj Siedlarek
Hi, I have encountered reverse() behavior I believe to be invalid. In my separate app's URLconf I have included a pattern pointing to some contrib.auth view. This app's URLconf I've included in my main project's URLconf and gave it a namespace. Now an other contrib.auth view cannot reverse an