Changes between Initial Version and Version 4 of Ticket #29145
- Timestamp:
- 02/22/2018 10:13:00 AM (12 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29145
-
Property
Type
changed from
Uncategorized
toCleanup/optimization
-
Property
Summary
changed from
CIText and __eq__
toAllow CIText values to be compared as the database would compare them (case-insensitively)
-
Property
Component
changed from
Uncategorized
tocontrib.postgres
-
Property
Triage Stage
changed from
Unreviewed
toAccepted
-
Property
Type
changed from
-
Ticket #29145 – Description
initial v4 3 3 Under the premise that python and postgresql use the same collation, tweak the system to compare two citext-fields in a case-insensitive manner for equality, without touching the database (as it is done for all other fields). 4 4 5 Attaching to each citext-field returned from the model an {{{__eq__}}} doing {{{.lower()}}}could help.5 Attaching to each citext-field returned from the model an `__eq__` doing `.lower()` could help.