accountant/forms/accounts.py

10 lines
241 B
Python
Raw Normal View History

2015-06-05 18:15:50 +02:00
from flask_wtf import Form
from wtforms import DecimalField, IntegerField, StringField
class AccountIdForm(Form):
id = IntegerField()
class AccountForm(AccountIdForm):
name = StringField()
authorized_overdraft = DecimalField()