From f8ec37e943f6e59faa9ab55458cbbefd3630e5a5 Mon Sep 17 00:00:00 2001 From: Martynas Sklizmantas Date: Fri, 15 Mar 2024 20:31:36 +0100 Subject: [PATCH] validators try 2 --- app/community/forms.py | 3 +-- requirements.txt | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/app/community/forms.py b/app/community/forms.py index 1b721536..d866df2c 100644 --- a/app/community/forms.py +++ b/app/community/forms.py @@ -1,10 +1,9 @@ from flask import request, g from flask_login import current_user from flask_wtf import FlaskForm -from validators import Min from wtforms import StringField, SubmitField, TextAreaField, BooleanField, HiddenField, SelectField, FileField, \ DateField -from wtforms.validators import ValidationError, DataRequired, Email, EqualTo, Length, Optional +from wtforms.validators import Min, ValidationError, DataRequired, Email, EqualTo, Length, Optional from flask_babel import _, lazy_gettext as _l from app import db diff --git a/requirements.txt b/requirements.txt index 1758473f..4ccc950b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -30,4 +30,3 @@ redis==5.0.1 Werkzeug==2.3.3 pytesseract==0.3.10 sentry-sdk==1.40.6 -validators