Django Forms | Python Django Crash Course | Learn Django 5 (Part 10) || Code with SJ

preview_player
Показать описание
ie Django Simple Form and Django ModelForm
You will learn to add a custom form as well as a model form to our Django project create a new post and upload an image.

You will learn about:
How to create ModelForm
how to exclude fields
How to do form validation
how to use CBV with Django forms
how to use forms to update data in Django

Django forms can be used for many things, such as generating HTML forms from Python/Django code, validating forms, throwing errors, and saving forms.

A Django form is a Python class containing fields with properties representing HTML fields and widgets, which is used to generate HTML tags for a particular field.

Learn Django from this Django 5.x crash course.
In this Django crash course or Django Beginners tutorial, we will learn Django from scratch and we will create a simple blog application using Django 5.
This is a beginner-friendly Django course.

Timestamp:
0:00 Intro to Django Forms
0:22 What is Django Form
0:37 Different Django Forms
0:55 Simple Django form
3:52 Django ModelForm
5:03 How to exclude fields
5:55 Django ModelForm with FBV
15:52 CBV CreateView with ModelForm
20:15 CBV UpdateView with ModelForm

Connect with me:

Thank you, everyone, for watching this video. If you have any questions, do comment below. Do like, subscribe, and share more such videos on Django and Django Rest Framework.
Presented by Bestlatech
Tune in Again
Рекомендации по теме
Комментарии
Автор

"I have completed Django recently, and now I am searching for projects. Could you suggest some?"

ABDULLAHYASIN-zu