We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 968de4e commit a30a987Copy full SHA for a30a987
1 file changed
coldfront/core/publication/forms.py
@@ -41,7 +41,9 @@ def clean(self):
41
for form in self.forms:
42
year = form.cleaned_data.get("year")
43
if year < curr_year - 1:
44
- raise ValidationError(f"Publication year entered is: {year}. Please add recent publications only!")
+ raise ValidationError(
45
+ f"Publication year entered is: {year}. Please add recent publications (this year and previous year) only!"
46
+ )
47
48
if year > curr_year:
49
raise ValidationError(
0 commit comments