I have a jsonfield
foo = JSONField(default=list)
I want to filter queryset so that foo has some data (not empty list)
I've tried
MyModel.objects.filter(foo__ne=[]) # doesn't seem to work
MyModel.objects.filter(foo__gt=[]) # seems to work but can't be sure if it's the right approach