diff --git a/admin/freeposte/views.py b/admin/freeposte/views.py index 25c47159..1345fbd9 100644 --- a/admin/freeposte/views.py +++ b/admin/freeposte/views.py @@ -9,12 +9,7 @@ admin = admin.Admin(app, name='Freeposte.io', template_mode='bootstrap3') class BaseModelView(sqla.ModelView): - - def after_model_change(self, form, model, is_created): - db.session.commit() - - def after_model_delete(self, model): - db.session.commit() + pass class DomainModelView(BaseModelView):