Re: JSONField filter fails with TypeError: can only concatenate tuple (not "list") to tuple

2019-11-12 Thread John-Paul Navarro
Django 2.2.7 fixed the problem. Thanks! On Friday, November 1, 2019 at 4:59:11 PM UTC-5, Raffaele Salmaso wrote: > > On Fri, Nov 1, 2019 at 10:38 PM John-Paul Navarro > wrote: > >> The following fails with Django 2.2.6 but works with Django 1.11.x. >> >

Re: JSONField filter fails with TypeError: can only concatenate tuple (not "list") to tuple

2019-11-01 Thread Raffaele Salmaso
On Fri, Nov 1, 2019 at 10:38 PM John-Paul Navarro wrote: > The following fails with Django 2.2.6 but works with Django 1.11.x. > https://code.djangoproject.com/ticket/30826 -- | Raffaele Salmaso | https://salmaso.org | https://bitbucket.org/rsalmaso | https://github.com/rsalmaso -- You

JSONField filter fails with TypeError: can only concatenate tuple (not "list") to tuple

2019-11-01 Thread John-Paul Navarro
The following fails with Django 2.2.6 but works with Django 1.11.x. Did filter() of JSONfield change in 2.2.6 and the query needs to change, or could this be a bug? Goal: Select model rows where the related AbstractService.EntityJSON contents “Capability" list includes the value