Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #1075 -- Fixed bug in edit_inline. Thanks, Eric Moritz

git-svn-id: http://code.djangoproject.com/svn/django/trunk@1717 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 3235f0298ae1c92f625c76922e66b9a0ad5aa3b1 1 parent e296de5
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  django/core/meta/__init__.py
View
3  django/core/meta/__init__.py
@@ -1809,11 +1809,12 @@ def manipulator_save(opts, klass, add, change, self, new_data):
if child_follow:
obj_list = expanded_data[related.var_name].items()
obj_list.sort(lambda x, y: cmp(int(x[0]), int(y[0])))
- params = {}
# For each related item...
for _, rel_new_data in obj_list:
+ params = {}
+
# Keep track of which core=True fields were provided.
# If all core fields were given, the related object will be saved.
# If none of the core fields were given, the object will be deleted.
Please sign in to comment.
Something went wrong with that request. Please try again.