Skip to content

Commit

Permalink
tweak to language
Browse files Browse the repository at this point in the history
  • Loading branch information
teovin committed Nov 22, 2024
1 parent 41d7dcc commit afb6a4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perma_web/perma/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ def clean_csv_file(self):
# validate the headers
headers = reader.fieldnames
if not all(item in headers for item in ['first_name', 'last_name', 'email']):
raise forms.ValidationError("CSV file must contain first_name, last_name and email header rows.")
raise forms.ValidationError("CSV file must contain a header row with first_name, last_name and email columns.")

# validate the rows
seen = set()
Expand Down

0 comments on commit afb6a4d

Please sign in to comment.