def derive_success_message(self):
        # First check whether a default message has been set
        if self.success_message is None:
            return self.model._meta.verbose_name % "Your %s has been updated."
        else:
            return self.success_message
dataset/ETHPy150Open nyaruka/smartmin/smartmin/views.py/SmartUpdateView.derive_success_message/swapped operands of `%`