﻿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
30853	field__foo__contains dont work in 2.2.6 on JSONField	Alexey	nobody	"please check

After I Updated Django version from 2.2.5 to 2.2.6
my code start rise exception
 
{{{
Entety.objects.filter(field__foo__contains='')
Traceback (most recent call last):
  File ""<console>"", line 1, in <module>
  File ""site-packages/django/db/models/query.py"", line 250, in __repr__
    data = list(self[:REPR_OUTPUT_SIZE + 1])
  File ""site-packages/django/db/models/query.py"", line 274, in __iter__
    self._fetch_all()
  File ""site-packages/django/db/models/query.py"", line 1242, in _fetch_all
    self._result_cache = list(self._iterable_class(self))
  File ""site-packages/django/db/models/query.py"", line 55, in __iter__
    results = compiler.execute_sql(chunked_fetch=self.chunked_fetch, chunk_size=self.chunk_size)
  File ""python3.5/site-packages/django/db/models/sql/compiler.py"", line 1087, in execute_sql
    sql, params = self.as_sql()
  File ""python3.5/site-packages/django/db/models/sql/compiler.py"", line 489, in as_sql
    where, w_params = self.compile(self.where) if self.where is not None else ("""", [])
  File ""python3.5/site-packages/django/db/models/sql/compiler.py"", line 405, in compile
    sql, params = node.as_sql(self, self.connection)
  File ""python3.5/site-packages/django/db/models/sql/where.py"", line 81, in as_sql
    sql, params = compiler.compile(child)
  File ""python3.5/site-packages/django/db/models/sql/compiler.py"", line 405, in compile
    sql, params = node.as_sql(self, self.connection)
  File ""python3.5/site-packages/django/contrib/postgres/lookups.py"", line 11, in as_sql
    params = lhs_params + rhs_params
TypeError: can only concatenate tuple (not ""list"") to tuple

}}}
"	Bug	closed	Database layer (models, ORM)	2.2	Normal	duplicate	jsonfield		Unreviewed	0	0	0	0	0	0
