i have face the problem in django orm
the field value is — ‘Korea, Republic of’
but the django orm make query and treat like two value is ‘Korea ‘,’ Republic of’'
please help me
q_objects= (OR: (‘region__in’, [‘Americas Region’, ‘Europe Region’, ‘Russia Region’, ‘Middle East and Africa Region’]), (‘reg_temp__in’, [‘Comoros’, “Cote D’Ivoire”, ‘Ghana’, ‘Australia’, ‘China’, ‘Hong Kong’, ‘Indonesia’, ‘Japan’, ‘Korea, Republic of’, ‘Malaysia’, ‘New Zealand’, ‘Philippines’, ‘Singapore’, ‘Sri Lanka’, ‘Taiwan’, ‘Thailand’, ‘Viet Nam’]))
users = obj_users.filter(q_objects)
print(“user query++++++++”, users.query)
query is ---------
IN (Viet Nam, Malaysia, Hong Kong, Thailand, Japan, Australia, Philippines, New Zealand,
Korea, Republic of, China, Indonesia, Comoros, Taiwan, Cote D’Ivoire, Singapore, Sri Lanka, Ghana)