Does anyone know how to validate form when CreateWithInlinesView
from the Django Extra Views is used?
Surprisingly enough def clean(self)
and def clean_name_of_the_field
methods don't work there. I have checked it on function based view , so that they really don't work in CreateWithInlinesView
. I could still use validators and def clean()
in model, but I would prefer to do it in forms...
If you had any experience in CreateWithInlinesView
validation -please let me know.
Thank you!