invoices_record.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:sii 作者: gisce 项目源码 文件源码
def get_max_length_error_message(field_name, max_chars):
        """
        Returns default max_length message
        :param field_name: String
        :type field_name: str
        :param max_chars: maximum number of chars for the field
        :type max_chars: int
        :return:
        """
        err_msg = 'El campo "{}" no puede contener mas ' \
                  'de {} caracteres'.format(field_name, str(max_chars))
        return err_msg
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号