Changes between Initial Version and Version 1 of Ticket #33647, comment 2


Ignore:
Timestamp:
Apr 16, 2022, 5:19:54 AM (3 years ago)
Author:
jerch

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33647, comment 2

    initial v1  
    3030
    3131Maybe 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
     33Edit:
     34Just 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`).
Back to Top