Python Django Basic Forms and Validation

preview_player
Показать описание
Python Django Basic Forms and Validation

Python Django Basic Forms and Validation

Django Form Validation - Django provides built-in methods to validate form data automatically. Django forms submit only if it contains CSRF tokens. It uses uses a clean and easy approach to validate data.

The is_valid() method is used to perform validation for each field of the form, it is defined in Django Form class. It returns True if data is valid and place all data into a cleaned_data attribute.
Рекомендации по теме
join shbcf.ru