From 8fe07d1e636486c831d5a667952b67e8b6e13bea Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Fri, 1 Aug 2008 14:44:38 +0000 Subject: [PATCH] Fixed #8030 - use super() in BaseModelForm git-svn-id: http://code.djangoproject.com/svn/django/trunk@8169 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/forms/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/forms/models.py b/django/forms/models.py index 4f1f86d801b..134746f4fc7 100644 --- a/django/forms/models.py +++ b/django/forms/models.py @@ -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): """