Changes between Version 2 and Version 3 of Ticket #35243


Ignore:
Timestamp:
Feb 21, 2024, 7:25:24 AM (9 months ago)
Author:
Christophe Henry
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35243 – Description

    v2 v3  
    1 The ``ValidationError`` has a ``code`` field that can be used in views to determined what exactly failed during form validation. Unfortunately, the list of error codes in not easily accessible from form. Actually, if I want to recover the ``ValidationError.code``s for a form's particular field, I must write the following:
     1The `ValidationError` has a `code` field that can be used in views to determined what exactly failed during form validation. Unfortunately, the list of error codes in not easily accessible from form. Actually, if I want to recover the `ValidationError.code`s for a form's particular field, I must write the following:
    22
    33{{{#!python
Back to Top