aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/app/forms.py
diff options
context:
space:
mode:
authorMichael Elkins <melkins@tislabs.com>2014-10-03 23:09:08 +0000
committerMichael Elkins <melkins@tislabs.com>2014-10-03 23:09:08 +0000
commit24635430e46c2fad0bdb5fb12fe18e212f76c437 (patch)
tree5d0ff329c8caef762b99175d1a457d1f904f129f /rpki/gui/app/forms.py
parent56664d871dd747e4868caa7657d281fb414288df (diff)
Add router cert request support to the GUI.
svn path=/trunk/; revision=5985
Diffstat (limited to 'rpki/gui/app/forms.py')
-rw-r--r--rpki/gui/app/forms.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/rpki/gui/app/forms.py b/rpki/gui/app/forms.py
index 5394a804..e60ba932 100644
--- a/rpki/gui/app/forms.py
+++ b/rpki/gui/app/forms.py
@@ -440,3 +440,8 @@ class ResourceHolderCreateForm(forms.Form):
if handle and parent and parent.children.filter(handle=handle).exists():
raise forms.ValidationError('parent already has a child by that name')
return self.cleaned_data
+
+
+class RouterCertificateRequestForm(forms.Form):
+ """form for uploading router cert request"""
+ xml = forms.FileField(label='XML file')