This commit is contained in:
DarkCat09 2023-02-16 18:21:15 +04:00
parent 3f665df6a7
commit 51e04f9f0f
2 changed files with 1 additions and 2 deletions

View file

@ -53,7 +53,6 @@ def create_app() -> Flask:
'MYSQL_DATABASE_PORT': parseint(os.getenv('MYSQL_PORT'), 3306),
'MYSQL_DATABASE_USER': os.getenv('MYSQL_USER', 'root'),
'MYSQL_DATABASE_PASSWORD': os.getenv('MYSQL_PASSWORD', ''),
# 'MYSQL_DATABASE_DB': db_name,
})
# Load extensions

View file

@ -4,7 +4,7 @@ from flask_wtf import FlaskForm # type: ignore
from wtforms import StringField # type: ignore
from wtforms import IntegerField
from wtforms import PasswordField
from wtforms.validators import DataRequired
from wtforms.validators import DataRequired # type: ignore
class AddForm(FlaskForm):