﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
23151	Deprecate RegexField.error_message	Baptiste Mispelon	nobody	"Unlike other fields, `RegexField` takes an `error_message` argument (as opposed to the `error_messages` argument other fields take).

It seems this was done to maintain backwards compatibility with the pre-1.0 releases [1].

This argument is documented (and somewhat tested) but the documentation states that this is not the preferred way to do it (the preferred way being to use `error_messages={'invalid': '...'}`).

I propose we move through the deprecation procedure and remove that argument altogether.

Note that this feature is still used in `django.contrib.flatpages.forms` so this will also need to be changed over to the new and preferred syntax.

I'm marking the ticket as `easy_pickings` since the removal should be quite straightforward.

[1] https://github.com/django/django/commit/26ea06b0ab423348e40652dd9e3f530a08b93582#diff-2141c7b3d1c360359d58d724553afd06R377"	Cleanup/optimization	closed	Forms	dev	Normal	fixed			Ready for checkin	1	0	0	0	1	0
