diff --git a/django/views/generic/edit.py b/django/views/generic/edit.py
index 1a361ef..680d52b 100644
a
|
b
|
class FormMixin(object):
|
33 | 33 | """ |
34 | 34 | if self.request.method in ('POST', 'PUT'): |
35 | 35 | return form_class( |
36 | | self.request.POST, |
37 | | self.request.FILES, |
| 36 | data=self.request.POST, |
| 37 | files=self.request.FILES, |
38 | 38 | initial=self.get_initial() |
39 | 39 | ) |
40 | 40 | else: |
… |
… |
class ModelFormMixin(FormMixin, SingleObjectMixin):
|
84 | 84 | """ |
85 | 85 | if self.request.method in ('POST', 'PUT'): |
86 | 86 | return form_class( |
87 | | self.request.POST, |
88 | | self.request.FILES, |
| 87 | data=self.request.POST, |
| 88 | files=self.request.FILES, |
89 | 89 | initial=self.get_initial(), |
90 | 90 | instance=self.object, |
91 | 91 | ) |