summaryrefslogtreecommitdiffstats
path: root/inventory/forms.py
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2015-05-10 01:06:46 +0200
committerSebastian Reichel <sre@ring0.de>2015-05-10 01:06:46 +0200
commit1f448ff2a0df12afbac6c3a30a23829440495cd4 (patch)
treedbf8e14db6ec25af07c3da1a5466531290af7b61 /inventory/forms.py
parent1c3bd651e0477d133e5770930eb8c7bb08c4aff5 (diff)
parent1dc5ee4fdeb29dc6e058bda5a7c259968b763860 (diff)
downloadktt-inventory-system-1f448ff2a0df12afbac6c3a30a23829440495cd4.tar.bz2
merge conflict
Diffstat (limited to 'inventory/forms.py')
-rw-r--r--inventory/forms.py9
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