Django Forms - Save Form Data to Database with Model Forms

  Рет қаралды 33,794

Caleb Curry

Caleb Curry

Күн бұрын

Start your software dev career - calcur.tech/dev-fundamentals 💯 FREE Courses (100+ hours) - calcur.tech/all-in-ones
🐍 Python Course - calcur.tech/python-courses
Timestamps:
00:00 - Introduction
03:10 - Create a form
04:44 - Meta class
05:27 - Instance of the form
06:34 - Display the form in HTML
08:55 - Save model to Database
✅ Data Structures & Algorithms - calcur.tech/dsa-youtube
~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~
✉️ Newsletter - calcur.tech/newsletter
📸 Instagram - / calebcurry
🐦 Twitter - / calebcurry
🔗 LinkedIn - / calebcurry
▶️ Subscribe - calcur.tech/subscribe
👨🏻‍🎓 Courses - www.codebreakthrough.com
~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~
↪ My Amazon Store - www.amazon.com/shop/calebcurry
🅿 Patreon - calcur.tech/patreon-calebcurry
🅖 GitHub Sponsors - github.com/sponsors/CalebCurry
Ⓟ Paypal - paypal.me/calcur
🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
📈 Buy Bitcoin - calcur.tech/crypto
Reserve the Ruby Steel crypto rewards card and get a $25 bonus (use affiliate code "Caleb") - calcur.tech/crypto
#Django

Пікірлер: 16
@codebreakthrough
@codebreakthrough 2 жыл бұрын
(FREE) Early access course notes - calcur.tech/backend-notes Links: Get the code here - github.com/CalebCurry/django-modelform Previous video - kzfaq.info/get/bejne/nNmGjJlntqjMp4E.html Timestamps: 00:00 - Introduction 03:10 - Create a form 04:44 - Meta class 05:27 - Instance of the form 06:34 - Display the form in HTML 08:55 - Save model to Database
@koladebadmus7055
@koladebadmus7055 2 жыл бұрын
This is super good, extremely concise
@louwrentius
@louwrentius 2 жыл бұрын
Thank you for this tutorial, it was exactly what I needed, nothing more, nothing less and very well done.
@adilet3278
@adilet3278 Жыл бұрын
broo, that worked, thank you. Enctype="multipart/form-data". Honestly i didn't even expect this was the problem, but it helped) thanks
@eddyateye810
@eddyateye810 2 жыл бұрын
you have no idea how this saved me! God bless your channel
@sylviemutuyimana7764
@sylviemutuyimana7764 Жыл бұрын
your tutorials are on point and easy to understand👌
@VictorStephenOfficial
@VictorStephenOfficial Жыл бұрын
Thanks you so much Caleb. This video was very helpful.
@LukeOlafP
@LukeOlafP 5 ай бұрын
Great tutorial, and you may have the most calming voice I have ever heard!
@asisrpjmtj
@asisrpjmtj Жыл бұрын
Nobody, called this out, that you need to name/define fields again in the ModelForm also .... I had only called out Mera Class, knowing that Model Fields are defined ... But data was not saving, ..... It got me hanging for 2 days, before you saved me .... thanks Caleb
@ajin6180
@ajin6180 Жыл бұрын
Thank you!!! You help my work project
@aannookhan2868
@aannookhan2868 2 жыл бұрын
We gain every time something great from u
@kuroxell
@kuroxell Жыл бұрын
Thank you!
@user-bk2el1vl1w
@user-bk2el1vl1w 11 ай бұрын
What if I want to display the form with data from the database? for instance, I want to create a form that have radio buttons, and the label for each radio button have text that come from a Model. Can I do this? (not a native speaker, sorry for grammar mistakes)
@mrm4691
@mrm4691 2 жыл бұрын
Hi Caleb, Can you do a video on future of django, I've heard that web 3.0 is taking over web 2.0. I mean block chain technology. Is that really true ? Will django become unneeded?
@joshventura4761
@joshventura4761 2 жыл бұрын
Caleb ur so handsome :D
@tabmax22
@tabmax22 Жыл бұрын
source code?
How To Add Database Forms To A Web Page - Django Wednesdays #7
28:24
How to Upload an Image Using Django ImageField (The RIGHT Way)
20:45
- А что в креме? - Это кАкАооо! #КондитерДети
00:24
Телеканал ПЯТНИЦА
Рет қаралды 7 МЛН
3M❤️ #thankyou #shorts
00:16
ウエスP -Mr Uekusa- Wes-P
Рет қаралды 15 МЛН
Smart Sigma Kid #funny #sigma #comedy
00:25
CRAZY GREAPA
Рет қаралды 26 МЛН
Nutella bro sis family Challenge 😋
00:31
Mr. Clabik
Рет қаралды 13 МЛН
Models in Django: Saving Form Data To The Database | Django Tutorial #10
25:06
ProgrammingWithHarry
Рет қаралды 53 М.
Building Django forms with django-crispy-forms
12:20
BugBytes
Рет қаралды 44 М.
Programming Is NOT Enough | Add these 7 skills…
13:19
Travis Media
Рет қаралды 414 М.
WebAssembly Introduction - Getting Started with Wasm
12:07
Caleb Curry
Рет қаралды 11 М.
Python Django Forms tutorial
26:54
Dave Gray
Рет қаралды 6 М.
SQLite3 in Node with better-sqlite3
12:08
Caleb Curry
Рет қаралды 5 М.
Style Django Forms With Bootstrap - Django Blog #5
15:46
Codemy.com
Рет қаралды 124 М.
Django Forms: Creating First Django simple form
17:00
Django World
Рет қаралды 6 М.
How to use Django Forms
8:55
Tony Teaches Tech
Рет қаралды 18 М.
Cheapest gaming phone? 🤭 #miniphone #smartphone #iphone #fy
0:19
Pockify™
Рет қаралды 2,4 МЛН
Здесь упор в процессор
18:02
Рома, Просто Рома
Рет қаралды 339 М.