Cleanup
This commit is contained in:
parent
3f665df6a7
commit
51e04f9f0f
2 changed files with 1 additions and 2 deletions
|
@ -53,7 +53,6 @@ def create_app() -> Flask:
|
||||||
'MYSQL_DATABASE_PORT': parseint(os.getenv('MYSQL_PORT'), 3306),
|
'MYSQL_DATABASE_PORT': parseint(os.getenv('MYSQL_PORT'), 3306),
|
||||||
'MYSQL_DATABASE_USER': os.getenv('MYSQL_USER', 'root'),
|
'MYSQL_DATABASE_USER': os.getenv('MYSQL_USER', 'root'),
|
||||||
'MYSQL_DATABASE_PASSWORD': os.getenv('MYSQL_PASSWORD', ''),
|
'MYSQL_DATABASE_PASSWORD': os.getenv('MYSQL_PASSWORD', ''),
|
||||||
# 'MYSQL_DATABASE_DB': db_name,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
# Load extensions
|
# Load extensions
|
||||||
|
|
|
@ -4,7 +4,7 @@ from flask_wtf import FlaskForm # type: ignore
|
||||||
from wtforms import StringField # type: ignore
|
from wtforms import StringField # type: ignore
|
||||||
from wtforms import IntegerField
|
from wtforms import IntegerField
|
||||||
from wtforms import PasswordField
|
from wtforms import PasswordField
|
||||||
from wtforms.validators import DataRequired
|
from wtforms.validators import DataRequired # type: ignore
|
||||||
|
|
||||||
|
|
||||||
class AddForm(FlaskForm):
|
class AddForm(FlaskForm):
|
||||||
|
|
Loading…
Add table
Reference in a new issue