Skip to content
Dhiraj edited this page May 13, 2019 · 2 revisions

Cleaned_data Attribute in django.

A Form instance has an is_valid() method, which runs validation routines for all its fields. When this method is called, if all fields contain valid data, it will:

return True place the form’s data in its cleaned_data attribute. So the cleaned_data is where to access the validated form data

Clone this wiki locally