Commit Graph
2 Commits
Author SHA1 Message Date
kfj001andClaude bd65455945 fix: resolve Pydantic date field shadowing causing 422 on event update
The field name 'date' in EventUpdate shadowed the 'date' type from
datetime, causing Pydantic v2 to interpret Optional[date] as
Optional[None] — rejecting all non-null values with a 422 error.

Fix: rename import to 'date as _date' and use '_date' in all
annotations. Also improve error handling in admin forms to properly
display 422 validation error messages.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-19 17:19:03 +00:00
kfj001 e5fef8b181 working 3 tier approach 2026-06-11 22:34:55 -07:00