diff options
| author | David Smith <39445562+smithdc1@users.noreply.github.com> | 2023-11-20 07:57:03 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-20 08:57:03 +0100 |
| commit | f1697ec7c8fc851baa9c890a605acb67f04210f2 (patch) | |
| tree | 7a522cce0e67531b90e71749b206c581a3088a1a /docs | |
| parent | ecfea054ee2b8ddfa027459ff8b6aecba05facf7 (diff) | |
Refs #31026 -- Simplified BaseForm.get_context().
bf.errors returns an ErrorList. Access this directly and avoid creating
a new instance in BaseForm.get_context()
Calling str() on the ErrorList can also be deferred to when the
variable used in the template.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions
