Commit e9592c36 authored by Leonidas Poulopoulos's avatar Leonidas Poulopoulos

Add fragment type in form clean

Add fragment type in RouteForm clean method. Not used yet but it
could be used in future checks for fragment type clashing
parent dadbaed7
......@@ -132,6 +132,7 @@ class RouteForm(forms.ModelForm):
source = self.cleaned_data.get('source', None)
sourceports = self.cleaned_data.get('sourceport', None)
ports = self.cleaned_data.get('port', None)
fragmenttypes = self.cleaned_data.get('fragmenttype', None)
then = self.cleaned_data.get('then', None)
destination = self.cleaned_data.get('destination', None)
destinationports = self.cleaned_data.get('destinationport', None)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment