diff options
Diffstat (limited to 'inventory/forms.py')
-rw-r--r-- | inventory/forms.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/inventory/forms.py b/inventory/forms.py new file mode 100644 index 0000000..264f8cb --- /dev/null +++ b/inventory/forms.py @@ -0,0 +1,9 @@ +from django import forms + + +class UploadFileForm(forms.Form): + + types = (('1', 'Parent Tree'), ('2', 'Regal')) + + file = forms.FileField() + type = forms.ChoiceField(widget=forms.RadioSelect, choices=types)
\ No newline at end of file |