mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user