Base of authentication.
This commit is contained in:
0
forms/__init__.py
Normal file
0
forms/__init__.py
Normal file
9
forms/accounts.py
Normal file
9
forms/accounts.py
Normal file
@ -0,0 +1,9 @@
|
||||
from flask_wtf import Form
|
||||
from wtforms import DecimalField, IntegerField, StringField
|
||||
|
||||
class AccountIdForm(Form):
|
||||
id = IntegerField()
|
||||
|
||||
class AccountForm(AccountIdForm):
|
||||
name = StringField()
|
||||
authorized_overdraft = DecimalField()
|
Reference in New Issue
Block a user