Skip to content
Snippets Groups Projects
Commit a76f9653 authored by Fanna Lautenbach's avatar Fanna Lautenbach
Browse files

update error message to be consistent

parent 7a580e8c
No related branches found
No related tags found
1 merge request!51add 'obs-id' as mandatory filter field
Pipeline #41546 passed
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment