Ticket #6523: iexact.patch
File iexact.patch, 953 bytes (added by , 16 years ago) |
---|
-
db/backends/postgresql/base.py
67 67 ops = DatabaseOperations() 68 68 operators = { 69 69 'exact': '= %s', 70 'iexact': ' ILIKE %s',70 'iexact': '::text ILIKE %s', 71 71 'contains': 'LIKE %s', 72 72 'icontains': 'ILIKE %s', 73 73 'regex': '~ %s', -
db/backends/postgresql_psycopg2/base.py
35 35 ops = DatabaseOperations() 36 36 operators = { 37 37 'exact': '= %s', 38 'iexact': ' ILIKE %s',38 'iexact': '::text ILIKE %s', 39 39 'contains': 'LIKE %s', 40 40 'icontains': 'ILIKE %s', 41 41 'regex': '~ %s',