Form validation is an important feature for web applications, and there are many ways to do it.
In this tutorial, I will talk about some different ways to do form validation in Django, and compare them to help you choose the best way in your project.
After reading this article, you will learn:
- What is Built-in Form Validation in HTML
- How to use Javascript to do client form validation
- How to use
jQuery Validation
orParsley
to do client form validation, and how they work - How to use
Yup
to do client form validation - How to use Django Form to do server form validation
- How to use Django Rest Framework to do server form validation
Here is the link: Django Form Validation Guide