Задать вопрос

Тел: +7 965 3737 888

535

Просмотров

0

Ответов

Add ValidationError to a field instead of __all__ during Form.clean()

If you need two values for validation, you can't use clean_value_a() since it is undefined if value_a or value_b gets cleaned first.

This little helper lets you add ValidationErrors to fields instead of _all_.

Related Ticket 5335.

Вопрос полезен? Да0/Нет0
file_2927.py(797.0б)
None