How to use Django Forms
ฝัง
- เผยแพร่เมื่อ 23 ส.ค. 2024
- Learn how to use Django forms to let Django do all the heavy lifting and automatically write HTML form elements for you. By extending the ModelForm and rendering it in your template from context, we can display the entire form or element by element.
Next video: Django CRUD • How to do CRUD in Django
Previous video: Django Context • How to Make Django Pag...
The entire Django course playlist is available here: • How to Make a Website ...
Code snippets and more at tonyteaches.te...
Check out my vlog channel @TonyFlorida
GitHub commit for this video: github.com/ton...
You know the tutorial is gonna pop off when he uses Vim
That vim scene 😮
Please make videos about Bootstrap to combone with Django.
Can we use Bootstrap in Django?
Thanks
I agree and without crispy forms we want something native
Boostrap is a front end framework, Django is a back end framework. They work well together. There's plenty of Django tutorials that cover it but it's so common they aren't usually in the headlines. It's not as hard as you might be thinking to bring them together, you got this!
what is your recording setup?
Hi, what font are you using in your terminal? Thanks
lesson learned : you can write a better code in the kitchen
Instructions aren't clear, how the empty context = {} passes 2:05
dictionary object 'context' is not empty. Observe it is getting added with values (key and values to be precise in the next few lines). For example: in context dictionary, 'title' : 'home' is a value
Uses vim
Me he is a wizard