flake8
passed.
JSHint
passed.
Review Request #9666 — Created Feb. 18, 2018 and submitted
RegexField.error_message
has been deprecated for a long time, with
the standardRegexField.error_messages
taking its place. Modern
versions of Django finally got rid of the legacy attribute, and it's
long past time for us to do so as well. This switches to the new-style
error messages dictionary.
Unit tests pass.
Tested manually that the validation error appears when the regex is
not matched.