"""
Author   : HarperHao
TIME    ： 2020/12/9
FUNCTION:  表单的基类
"""
from wtforms import Form


class BaseForm(Form):
    def get_error(self):
        message = self.errors.popitem()[1][0]
        return message

be35d8206b48519bd21023667508b2b43256a319
<mask token>

<mask token>


class BaseForm(Form):
    <mask token>

<mask token>


class BaseForm(Form):

    def get_error(self):
        message = self.errors.popitem()[1][0]
        return message

<mask token>
from wtforms import Form


class BaseForm(Form):

    def get_error(self):
        message = self.errors.popitem()[1][0]
        return message

"""
Author   : HarperHao
TIME    ： 2020/12/9
FUNCTION:  表单的基类
"""
from wtforms import Form


class BaseForm(Form):
    def get_error(self):
        message = self.errors.popitem()[1][0]
        return message
