Skip to content

Commit

Permalink
Corrected line that was somehow merged out prior to committing change…
Browse files Browse the repository at this point in the history
…set [3858].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3859 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
freakboy3742 committed Sep 26, 2006
1 parent 0d19b2e commit cb82926
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/db/models/manipulators.py
Expand Up @@ -218,7 +218,7 @@ def save(self, new_data):
new_value = rel_new_data[f.attname]
if f.rel.raw_id_admin:
new_value = new_value[0]
setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=rel_new_data[f.attname]))
setattr(new_rel_obj, f.name, f.rel.to.objects.filter(pk__in=new_value))
if self.change:
self.fields_changed.append('%s for %s "%s"' % (f.verbose_name, related.opts.verbose_name, new_rel_obj))

Expand Down

0 comments on commit cb82926

Please sign in to comment.