[1.8.x] Simplified the lazy CSRF token implementation in csrf context processor.
This significantly improves performance on PyPy. The previous implementation would generate a new class on every single request, which is relatively slow. Backport of 8099d33b from master
Loading
Please register or sign in to comment