|
@@ -244,13 +244,13 @@ The `form_data` field in the `AbstractFormSubmission` model (and its subclasses
|
|
|
|
|
|
Example change
|
|
|
|
|
|
-```
|
|
|
- def process_form_submission(self, form):
|
|
|
- self.get_submission_class().objects.create(
|
|
|
- # form_data=json.dumps(form.cleaned_data, cls=DjangoJSONEncoder),
|
|
|
- form_data=form.cleaned_data, # new
|
|
|
- page=self, user=form.user
|
|
|
- )
|
|
|
+```python
|
|
|
+def process_form_submission(self, form):
|
|
|
+ self.get_submission_class().objects.create(
|
|
|
+ # form_data=json.dumps(form.cleaned_data, cls=DjangoJSONEncoder),
|
|
|
+ form_data=form.cleaned_data, # new
|
|
|
+ page=self, user=form.user
|
|
|
+ )
|
|
|
```
|
|
|
|
|
|
### Removed `size` argument from `wagtail.utils.sendfile_streaming_backend.was_modified_since`
|