I have a form, that will be used for a new submit and updates. My question is about the text of the submit button. I want to change the text to New submit and to New update, depending on the situation. This is purely informative.
submit = SubmitField('New submit')
The correct way to do this with mixins:
class InterviewMixin(): ... class InterviewSubmit(Form, InterviewMixin): submit = SubmitField('New submit') class InterviewUpdate(Form, InterviewMixin): submit = SubmitField('New update')