On Sep 26, 1:58 pm, Michael Merickel <[email protected]> wrote: > Likely you will need to add some code to the "csrf_validation" function to > exclude the RPC URL. For example: > > def csrf_validation(event): > """ CSRF token exposed to templates > """ > request = event.request > if request.matched_route.name != 'MYRPCROUTENAME' and request.method == > 'POST':
What version of pyramid supports matched_route? I've tested a few versions, even 1.2.1, but, it always returns None (if specified with .name, I get AttributeError: 'NoneType' object has no attribute 'name'). Is this in a development version, if so, when will that be released? -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
