2👍
✅
q_objects[type] = [Q(**q_dict)]
No. You need to handle each element separately.
q_objects[type] = [Q(**{k: v}) for (k, v) in q_dict.iteritems()]
Source:stackexchange.com