0:25:14
Understanding Django authentication
DjangoCon US 2019 · October 18, 2019
Authentication establishes that an identity is genuine, using knowledge, possession, or biometric factors; sensitive systems may combine multiple factors. Django’s built-in system uses middleware, sessions, and authentication backends: `authenticate()` tries configured backends, while `login()` stores the authenticated user and backend in the session and `logout()`…