Skip to content
This repository has been archived by the owner on Feb 13, 2022. It is now read-only.

Commit

Permalink
update error text to be more sensible
Browse files Browse the repository at this point in the history
  • Loading branch information
moh-moola committed Jul 11, 2018
1 parent 79188a4 commit 54767b8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion molo/surveys/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,8 @@ def clean(self):
if self.choices and len(self.choices) > CHARACTER_COUNT_CHOICE_LIMIT:
raise ValidationError(
{'field_type': _(
'The maximum character(s) limit exceeded ({max_limit}). '
'The combined choices\' maximum characters'
' limit has been exceeded ({max_limit} character(s)).'
).format(max_limit=CHARACTER_COUNT_CHOICE_LIMIT)}
)

Expand Down

0 comments on commit 54767b8

Please sign in to comment.