Re: CSRF changes - backwards incompatible

2009-10-31 Thread Luke Plant
On Saturday 31 October 2009 03:04:28 Kegan Gan wrote: > How does the csrf_token affect TestCase.client.post() ? The token doesn't affect it directly. The HttpRequest class that TestCase uses is hacked so that the middleware and csrf_protect decorator don't actually reject requests which have t

Re: ImproperlyConfigured: Error importing middleware django.middleware.csrf: "No module named csrf"

2009-10-31 Thread Luke Plant
On Saturday 31 October 2009 01:04:09 vl4dt wrote: > I get this output from a newly created project with the latest > trunk: > > > Any suggestions? I suspect the python path is missing something, > also the server stops responding, just sits there and no further > requests are served. I star

Re: Reversing URL for a view with namespaces

2009-10-31 Thread Russell Keith-Magee
On Tue, Oct 20, 2009 at 11:38 PM, Ivan Sagalaev wrote: > > Russell Keith-Magee wrote: >> On the 'missing something' front, reverse() now takes a 'current_app' >> argument that gives context to the app lookup, which resolves the >> ambiguity from the point of view of the reverse() function. > > I