Changes between Version 3 and Version 4 of Ticket #19671, comment 4
- Timestamp:
- Jul 8, 2014, 11:38:32 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #19671, comment 4
v3 v4 1 1 As Florian(fhahn) says that validators could be used in case of forms, I too am of the same opinion because in case of forms, when we provide the entire data all at once, we can surely run the validators on it when `full_clean()` on `ModelForm` is called, for which I have attached a patch. 2 2 And also we should update the docs saying that validators for M2M have meaning only when ModelForm is used as otherwise they can't because the m2m validators play no role in `model instance`'s `full_clean()` is called, but definitely when form's `full_clean()` is being called as it is part of form data and must be validated. 3 The patch is also available at https://github.com/coder9042/django/compare/gsoc_19671