Changes between Initial Version and Version 1 of Ticket #33647, comment 2
- Timestamp:
- Apr 16, 2022, 5:19:54 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #33647, comment 2
initial v1 30 30 31 31 Maybe it is enough to apply the super type to the cast in that line https://github.com/django/django/blob/a1e4e86f923dc8387b0a9c3025bdd5d096a6ebb8/django/db/models/query.py#L765? 32 33 Edit: 34 Just tested it - affected by falsey truncation are `bit`, `bit varying`, `character` and `character varying`. All others are specifying precision, which is either not explicitly set by django, or would raise anyway for non-suitable values (thats the case for `numeric`).