mirror of
https://github.com/django/django.git
synced 2025-07-23 13:15:32 +00:00
Refs #23151 -- Removed RegexField.error_message per deprecation timeline.
This commit is contained in:
parent
54fd769eb4
commit
b6ea1961eb
3 changed files with 0 additions and 26 deletions
|
@ -853,14 +853,6 @@ For each field, we describe the default widget used if you don't specify
|
|||
Defaults to ``False``. If enabled, stripping will be applied before the
|
||||
regex validation.
|
||||
|
||||
.. deprecated:: 1.8
|
||||
|
||||
The optional argument ``error_message`` is also accepted for backwards
|
||||
compatibility but will be removed in Django 1.10. The preferred way to
|
||||
provide an error message is to use the :attr:`~Field.error_messages`
|
||||
argument, passing a dictionary with ``'invalid'`` as a key and the error
|
||||
message as the value.
|
||||
|
||||
``SlugField``
|
||||
~~~~~~~~~~~~~
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue