I am new in Django.
In my Django view.py, I have following get method: customer_list = Customer.objects.filter(CustId = '1001')
and it returns result.
When I substitute with a String like following:
getQueryString = "CustId = '1001'"
customer_list = Customer.objects.filter(getQueryString)
I get the following error:
too many values to unpack (expected 2)
Any help really appreciated.