mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
Fixed #22318 -- Added Form.has_error() to easily check if a given error has happened.
This commit is contained in:
@@ -109,6 +109,9 @@ Forms
|
||||
* Form widgets now render attributes with a value of ``True`` or ``False``
|
||||
as HTML5 boolean attributes.
|
||||
|
||||
* The new :meth:`~django.forms.Form.has_error()` method allows checking
|
||||
if a specific error has happened.
|
||||
|
||||
Internationalization
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
||||
Reference in New Issue
Block a user