Fixed the documentation of the BaseAccountExists validator.
This commit is contained in:
parent
7b2089bdfb
commit
be10984cbb
@ -32,7 +32,7 @@ from accounting.utils.user import get_current_user_pk
|
|||||||
|
|
||||||
|
|
||||||
class BaseAccountExists:
|
class BaseAccountExists:
|
||||||
"""The validator to check if the base account code exists."""
|
"""The validator to check if the base account exists."""
|
||||||
|
|
||||||
def __call__(self, form: FlaskForm, field: StringField) -> None:
|
def __call__(self, form: FlaskForm, field: StringField) -> None:
|
||||||
if field.data == "":
|
if field.data == "":
|
||||||
|
Loading…
Reference in New Issue
Block a user