aboutsummaryrefslogtreecommitdiff
path: root/rpki/gui/app/forms.py
diff options
context:
space:
mode:
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 02561303..03f00814 100644
--- a/rpki/gui/app/forms.py
+++ b/rpki/gui/app/forms.py
@@ -445,3 +445,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')