mirror of
				https://github.com/django/django.git
				synced 2025-10-28 08:06:09 +00:00 
			
		
		
		
	Fixed #8030 - use super() in BaseModelForm
git-svn-id: http://code.djangoproject.com/svn/django/trunk@8169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
		| @@ -259,8 +259,8 @@ class BaseModelForm(BaseForm): | ||||
|         # if initial was provided, it should override the values from instance | ||||
|         if initial is not None: | ||||
|             object_data.update(initial) | ||||
|         BaseForm.__init__(self, data, files, auto_id, prefix, object_data, | ||||
|                           error_class, label_suffix, empty_permitted) | ||||
|         super(BaseModelForm, self).__init__(data, files, auto_id, prefix, object_data, | ||||
|                                             error_class, label_suffix, empty_permitted) | ||||
|  | ||||
|     def save(self, commit=True): | ||||
|         """ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user