[FIXED] DateTime timezone handling causing Internal Server Errors #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem: Mixing timezone-aware and timezone-naive datetime objects caused errors in session completion.
Solution:
DateTime(timezone=True)lambda: datetime.now(timezone.utc)Files affected: All models with timestamp fields
Fixed: January 28, 2026