Base of authentication.

This commit is contained in:
Alexis Lahouze
2015-06-05 18:15:50 +02:00
parent e6b61f97e0
commit f646831891
7 changed files with 64 additions and 6 deletions

0
forms/__init__.py Normal file
View File

9
forms/accounts.py Normal file
View 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()