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:
parent
9d7f0d16c5
commit
8ca7cc72d5
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user