summaryrefslogtreecommitdiffstats
path: root/tools/pharos-dashboard/booking/forms.py
blob: 5b32c868e20b883efde06b6d321793074fa4110f (plain)
1
2
3
4
5
6
7
8
9
import django.forms as forms


class BookingForm(forms.Form):
    fields = ['start', 'end', 'purpose']

    start = forms.DateTimeField()
    end = forms.DateTimeField()
    purpose = forms.CharField(max_length=300)