Ticket #17991: fix_issue_17991.patch
File fix_issue_17991.patch, 515 bytes (added by , 13 years ago) |
---|
-
django/db/models/query.py
1775 1775 1776 1776 for obj in instances: 1777 1777 instance_attr_val = instance_attr(obj) 1778 vals = rel_obj_cache.get( instance_attr_val, [])1778 vals = rel_obj_cache.get(unicode(instance_attr_val), []) 1779 1779 if single: 1780 1780 # Need to assign to single cache on instance 1781 1781 if vals: