Re: [mezzanine-users] CSRF fails on login during automated testing. Issue with caching on non-anonymous?

2014-03-05 Thread Stephen McDonald
Ah so potentially you just need to add the nevercache tag around the csrf token? That would be a relief to know it all works, please let us know. On Thu, Mar 6, 2014 at 4:25 AM, jenniferlia...@gmail.com wrote: Thanks for the answer. You are entirely right. I had forgotten that I overrode

Re: [mezzanine-users] CSRF fails on login during automated testing. Issue with caching on non-anonymous?

2014-03-04 Thread Stephen McDonald
There are a few moving parts here, my guess is something failing in the last of these: By default in Mezzanine, forms use the fields_for template tag, which is just a helper for rendering forms: https://github.com/stephenmcd/mezzanine/blob/master/mezzanine/core/templates/includes/form_fields.html