Python Django Forms tutorial

Dave Gray March 22, 2024
Video Thumbnail

About

Web Development tutorials with full courses on HTML, CSS, JavaScript, React, Node.js and more! My goal is to help you learn how to build the web. Teaching helps me learn, too. I work full-time as a Solutions Architect / Developer and part-time as a university web dev instructor. Thank you for subscribing, supporting my channel and sharing the videos you think may help others. Keep striving for progress over perfection. And a little progress every day goes a very long way. Milestones: July 20, 2020 - 1st video Jan 1, 2021 - 1k subs April 2021 - 4k watch hours Nov 2021 - 10k subs Jan 21, 2022 - Video at 100k views Feb 16, 2022 - 100k watch hours Feb 19, 2022 - 1m views Dec 13, 2022 - 100k subs Dec 2022 - Over 1m views in 1 month April 7, 2023 - 10m views May 26, 2023 - 1m watch hours Sept 22, 2023 - Video at 1m views Dec 25, 2023 - 250k subs

Video Description

Web Dev Roadmap for Beginners (Free!): https://bit.ly/DaveGrayWebDevRoadmap In this Python Django forms tutorial, we will add a custom form to our Django project that creates a new post and uploads an image. This is the final lesson in this Python Django for Beginners series. 💖 Support me on Patreon ➜ https://patreon.com/davegray ⭐ Become a full-stack dev with Zero To Mastery Courses: - The Complete Python Developer: https://bit.ly/CompPythonDev - Complete Machine Learning & Data Science: https://bit.ly/CompMachineLearning - Junior to Senior Dev Roadmap: https://bit.ly/WebDevRoadmap-JrtoSr 🚩 Subscribe ➜ https://bit.ly/3nGHmNn 📬 Course Updates ➜ https://courses.davegray.codes/ 🚀 Discord ➜ https://discord.gg/neKghyefqh ☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray 👇 Follow Me On Social Media: GitHub: https://github.com/gitdagray X: https://twitter.com/yesdavidgray LinkedIn: https://www.linkedin.com/in/davidagray/ Blog: https://www.davegray.codes/ 🔗 All Resources for this Django Course: https://github.com/gitdagray/django-course 🔗 YouTube Playlist for this Django Tutorial Series: https://www.youtube.com/playlist?list=PL0Zuz27SZ-6NamGNr7dEqzNFEcZ_FAUVX Python Django Forms tutorial (00:00) Intro (00:05) Welcome (00:28) Getting Started (00:54) Create a Custom Form (03:10) Add the Custom Form to a template (07:23) Viewing the New Form (08:42) Handling Form Submissions (11:22) Testing the Form Submission (11:57) Updating the Post Model (14:56) Student Challenge (15:56) Updating the Posts List (16:38) Saving the New Post with an Author (17:28) Creating Posts with different Authors (19:01) Final Project Updates & Changes (25:37) Deployment Thoughts 📚 Tutorial References: 🔗 Django Official Site: https://www.djangoproject.com/ 🔗 Django Model field reference: https://docs.djangoproject.com/en/5.0/ref/models/fields 🔗 Django Path Converters: https://docs.djangoproject.com/en/5.0/topics/http/urls/#path-converters 🔗 Python Official Site: https://www.python.org/ 🔗Visual Studio Code Official Site: https://code.visualstudio.com/ 👀 Visual Studio Code: https://code.visualstudio.com/ Was this Python Django Forms tutorial helpful? If so, please share. Let me know your thoughts in the comments. #python #django #forms

You May Also Like