From a76f9653f6ba2daa07c0b5d9278c691f01816640 Mon Sep 17 00:00:00 2001
From: Fanna Lautenbach <lautenbach@astron.nl>
Date: Mon, 19 Dec 2022 10:41:49 +0100
Subject: [PATCH] update error message to be consistent

---
 ldvspec/lofardata/forms.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ldvspec/lofardata/forms.py b/ldvspec/lofardata/forms.py
index 2aea9a0d..faa5152b 100644
--- a/ldvspec/lofardata/forms.py
+++ b/ldvspec/lofardata/forms.py
@@ -23,7 +23,7 @@ class WorkSpecificationForm(ModelForm):
         self.cleaned_data = super().clean()
         self.cleaned_data["filters"] = self._extract_filters()
         if not 'obs_id' in self.cleaned_data["filters"]:
-            raise ValidationError(["You have forgotten about the 'obs_id'"])
+            raise ValidationError(["obs_id: This field is required."])
 
         return self.cleaned_data
 
-- 
GitLab