Skip to content

Commit a30a987

Browse files
committed
minor
1 parent 968de4e commit a30a987

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

coldfront/core/publication/forms.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ def clean(self):
4141
for form in self.forms:
4242
year = form.cleaned_data.get("year")
4343
if year < curr_year - 1:
44-
raise ValidationError(f"Publication year entered is: {year}. Please add recent publications only!")
44+
raise ValidationError(
45+
f"Publication year entered is: {year}. Please add recent publications (this year and previous year) only!"
46+
)
4547

4648
if year > curr_year:
4749
raise ValidationError(

0 commit comments

Comments
 (0)