From 5b60dd7f849b69a75ff1ad94b8a84376c6aa016b Mon Sep 17 00:00:00 2001 From: catborise Date: Fri, 16 Nov 2018 16:03:32 +0300 Subject: [PATCH] fix validation error message of network. --- create/forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create/forms.py b/create/forms.py index d1e5bf0..00fcb2f 100644 --- a/create/forms.py +++ b/create/forms.py @@ -37,7 +37,7 @@ class NewVMForm(forms.Form): host_model = forms.BooleanField(required=False) disk = forms.IntegerField(required=False) memory = forms.IntegerField(error_messages={'required': _('No RAM size has been entered')}) - networks = forms.CharField(error_messages={'required': _('No Network pool has been choice')}) + networks = forms.CharField(error_messages={'required': _('No Network pool has been choosen')}) nwfilter = forms.CharField(required=False) storage = forms.CharField(max_length=20, required=False) template = forms.CharField(required=False)