Missing Response

2010-05-18 Thread steve
Just wondering what happened to my response to: Record won't Insert, possibly due to not using built in 'ID'? It says Last Post by Steve, but the message is missing. Steve -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gr

Re: Test Client Missing Response Meta Data

2009-03-13 Thread Russell Keith-Magee
On Sat, Mar 14, 2009 at 5:21 AM, Chris wrote: > > I'm trying to test an email sending feature, and the email text > requires the current domain, which I'm getting from request.META > ['HTTP_HOST']. On a normal system, this works fine, but when I access > it using the test framework and django.tes

Test Client Missing Response Meta Data

2009-03-13 Thread Chris
I'm trying to test an email sending feature, and the email text requires the current domain, which I'm getting from request.META ['HTTP_HOST']. On a normal system, this works fine, but when I access it using the test framework and django.test.Client, I get a KeyError exception for 'HTTP_HOST'. I