From a5d4c70f3acf7c7af69cd5331533fe86502f8653 Mon Sep 17 00:00:00 2001 From: Leonidas Poulopoulos Date: Mon, 13 Feb 2012 17:06:28 +0200 Subject: [PATCH] Wording fix in form Exceptions --- flowspec/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flowspec/forms.py b/flowspec/forms.py index 279f3c9..f5741c6 100644 --- a/flowspec/forms.py +++ b/flowspec/forms.py @@ -123,7 +123,7 @@ class RouteForm(forms.ModelForm): if destinationports and not destination: raise forms.ValidationError('Once destination port is matched, destination has to be filled as well. Either deselect destination port or fill destination address') if not (source or sourceports or ports or destination or destinationports): - raise forms.ValidationError('Fill at least a Route Match Condition') + raise forms.ValidationError('Fill at least a Rule Match Condition') if not user.is_superuser and then[0].action not in settings.UI_USER_THEN_ACTIONS: raise forms.ValidationError('This action "%s" is not permitted' %(then[0].action)) existing_routes = Route.objects.exclude(status='EXPIRED').exclude(status='PENDING').exclude(status='ERROR').exclude(status='ADMININACTIVE') -- 1.7.10.4