Changes between Initial Version and Version 4 of Ticket #29145
- Timestamp:
- Feb 22, 2018, 10:13:00 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29145
- Property Component Uncategorized → contrib.postgres
- Property Triage Stage Unreviewed → Accepted
- Property Summary CIText and __eq__ → Allow CIText values to be compared as the database would compare them (case-insensitively)
- Property Type Uncategorized → Cleanup/optimization
-
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.