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.
Loading
Please register or sign in to comment