Changes between Version 2 and Version 3 of Ticket #19671, comment 4


Ignore:
Timestamp:
Jul 8, 2014, 11:36:22 PM (10 years ago)
Author:
ANUBHAV JOSHI

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19671, comment 4

    v2 v3  
    11As 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 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.
     2And 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.
Back to Top