0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00

Remove now-unnecessary save_object methods

This commit is contained in:
Matt Westcott 2022-07-05 17:41:01 +01:00 committed by Matt Westcott
parent 9d7f0d16c5
commit 8ca7cc72d5
2 changed files with 0 additions and 6 deletions

View File

@ -77,9 +77,6 @@ class EditView(BaseEditView):
def get_edit_form_class(self):
return get_document_multi_form(self.model)
def save_object(self, form):
form.save()
class DeleteView(BaseDeleteView):
permission_policy = permission_policy

View File

@ -118,9 +118,6 @@ class EditView(BaseEditView):
def get_edit_form_class(self):
return get_image_multi_form(self.model)
def save_object(self, form):
form.save()
class DeleteView(BaseDeleteView):
permission_policy = permission_policy