Skip to content

[pull] main from django:main - #568

Merged
pull[bot] merged 1 commit into
threatcode:mainfrom
django:main
Sep 19, 2026
Merged

pull[bot] merged 1 commit into
threatcode:mainfrom
django:main

Conversation

@pull

@pull pull Bot commented Sep 19, 2026 •

Copy link
Copy Markdown

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

ChangeList.get_filters() only caught ValueError around the datetime()
construction, leaving the to_date computation outside the try. An
out-of-range year query parameter (e.g. ?date__year=9999, where
to_date's year + 1 == 10000) or a value too large for a C long
(OverflowError) escaped as an unhandled exception (HTTP 500) instead of
IncorrectLookupParameters. Catch both exceptions and compute to_date
inside the try, matching the handling already used in
views/generic/dates.py and elsewhere.
@pull pull Bot locked and limited conversation to collaborators Sep 19, 2026
@pull pull Bot added the ⤵️ pull label Sep 19, 2026
@pull
pull Bot merged commit 935edaa into threatcode:main Sep 19, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant