LogRecord has a built-in `created` attribute (timestamp) and Python's
Logger.makeRecord raises KeyError("Attempt to overwrite 'created' in
LogRecord") when extra= contains it. The 500 fired AFTER user_login
already set the sessionid, so users were technically signed in but
saw a 500 page on first visit.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| adapter | ||
| middleware | ||
| provider | ||
| utils | ||
| views | ||
| __init__.py | ||
| apps.py | ||
| rate_limit.py | ||
| session.py | ||
| urls.py | ||