Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrected line that was somehow merged out prior to committing change…

…set [3858].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit cb829267b83d4bc5db0e7c93fc5c78feea2a6c25 1 parent 0d19b2e
Russell Keith-Magee authored September 26, 2006

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/db/models/manipulators.py
2  django/db/models/manipulators.py
@@ -218,7 +218,7 @@ def save(self, new_data):
218 218
                                 new_value = rel_new_data[f.attname]
219 219
                                 if f.rel.raw_id_admin:
220 220
                                     new_value = new_value[0]
221  
-                                setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=rel_new_data[f.attname]))
  221
+                                setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=new_value))
222 222
                                 if self.change:
223 223
                                     self.fields_changed.append('%s for %s "%s"' % (f.verbose_name, related.opts.verbose_name, new_rel_obj))
224 224
 

0 notes on commit cb82926

Please sign in to comment.
Something went wrong with that request. Please try again.