Python Django Forms tutorial

Опубликовано: 22 Март 2024
на канале: Dave Gray
9,510
304

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 ➜   / 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 ➜   / discord  

☕ Buy Me A Coffee ➜ https://www.buymeacoffee.com/davegray

👇 Follow Me On Social Media:
GitHub: https://github.com/gitdagray
X:   / yesdavidgray  
LinkedIn:   / davidagray  
Blog: https://www.davegray.codes/

🔗 All Resources for this Django Course: https://github.com/gitdagray/django-c...

🔗 YouTube Playlist for this Django Tutorial Series:    • Python Django Tutorials for Beginners  

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...
🔗 Django Path Converters: https://docs.djangoproject.com/en/5.0...
🔗 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


Смотрите видео Python Django Forms tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Dave Gray 22 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 9,510 раз и оно понравилось 304 людям.