summaryrefslogtreecommitdiffstats
path: root/inventory/forms.py
blob: 264f8cbbd8c9d7444584573e4d539fab3dcee93e (plain)
1
2
3
4
5
6
7
8
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)