Form Fields
Let’s learn about Django form fields.
Django form fields
Now, let’s talk about Django form fields. These form fields have built-in validation methods in them. This means that if we use an email field, for example, it’s going to require us to actually put in an email. The form field will prevent us from doing otherwise.
In the previous lesson, we used the CharField
. Instead of using the same field again, let’s test more fields in this lesson.
Get hands-on with 1400+ tech skills courses.