﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29145	CIText and __eq__	Дилян Палаузов	nobody	"For comparing two model instances on equality one can iterate over all fields in the instance and compare the fields for equality, without querying the database.  This does not work for django.contrib.postgres.fields.citext.CIText, where ""a"" is equal to ""A"".

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).

Attaching to each citext-field returned from the model an {{{__eq__}}} doing {{{.lower()}}} could help."	Uncategorized	new	Uncategorized	2.0	Normal				Unreviewed	0	0	0	0	0	0
