From 801802836a648ac0865c1c932e3cf9a01e3a639e Mon Sep 17 00:00:00 2001 From: Alexis Metaireau Date: Fri, 9 Sep 2011 19:14:19 +0200 Subject: Start working on archive management --- budget/forms.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'budget/forms.py') diff --git a/budget/forms.py b/budget/forms.py index 6272b7f..7ac48cc 100644 --- a/budget/forms.py +++ b/budget/forms.py @@ -100,3 +100,8 @@ class InviteForm(Form): if not validator.regex.match(email): raise ValidationError("The email %s is not valid" % email) + +class CreateArchiveForm(Form): + start_date = DateField("Start date", validators=[Required(),]) + end_date = DateField("End date", validators=[Required(),]) + name = TextField("Name for this archive (optional)") -- cgit v1.1