Commit d6be7da1 authored by Edouard Berthe's avatar Edouard Berthe

Update base.py - Typing error

A simple typing error (which can create some misunderstanding if we read the code too fast).
parent 2e626e33
...@@ -1345,7 +1345,7 @@ class BaseModelView(BaseView, ActionsMixin): ...@@ -1345,7 +1345,7 @@ class BaseModelView(BaseView, ActionsMixin):
# Model event handlers # Model event handlers
def on_model_change(self, form, model, is_created): def on_model_change(self, form, model, is_created):
""" """
Perform some actions after a model is created or updated. Perform some actions before a model is created or updated.
Called from create_model and update_model in the same transaction Called from create_model and update_model in the same transaction
(if it has any meaning for a store backend). (if it has any meaning for a store backend).
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment