def create_model(self, form): form_dict = form_to_dict(form) shop_assistant_admin = ShopAssistantAdmin() create_success = shop_assistant_admin.create_shop_assistant( self.session, form_dict, ShopAssistant, self.ARGS, self.SPECIAL_ARGS) return create_success
def update_model(self, form, model): form_dict = form_to_dict(form) shop_assistant_admin = ShopAssistantAdmin() success = shop_assistant_admin.update_shop_assistant( self.session, form_dict, model, self.ARGS, self.SPECIAL_ARGS) return success
def update_model(self, form, model): form_dict = form_to_dict(form) shop_assistant_admin = ShopAssistantAdmin() success = shop_assistant_admin.update_shop_assistant(self.session, form_dict, model, self.ARGS, self.SPECIAL_ARGS) return success
def create_model(self, form): form_dict = form_to_dict(form) shop_assistant_admin = ShopAssistantAdmin() create_success = shop_assistant_admin.create_shop_assistant(self.session, form_dict, ShopAssistant, self.ARGS, self.SPECIAL_ARGS) return create_success