Hello how to change string type into <class 'django.db.models.query_utils.Q'>
string = Q(run_date = '2016-05-01') & Q(distance__gt = 20) | Q(distance__lt = 10)
data = Test_allowed.objects.filter(q_pickled)
return HttpResponse(data)
got error "too many values to unpack (expected 2)" because type is str '''