Django - Processing POST requests & saving to the database!

Publié le: 22 septembre 2025
sur la chaîne: BugBytes
2,255
101

🙏 Join our channel to get access to perks:
   / @bugbytes3923  

☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
To support the channel and encourage new videos, please consider buying a coffee here:
https://ko-fi.com/bugbytes

In this video, we'll look at processing POST requests when forms are submitted, including how to safely update data in the database, and how to redirect users after successful processing. We'll also cover F objects in Django.

📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
00:00 Intro
01:40 request.POST query dictionary in Django
05:48 Incrementing the number of votes for a choice
07:01 F expressions in Django
12:04 Showing vote counts for each option
14:33 pluralize Django template filter

𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
📖 Blog: https://bugbytes.io/posts/
👾 Github: https://github.com/bugbytes-io/

📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
Django Tutorial: https://docs.djangoproject.com/en/5.2...
F objects:    • Django - F Expressions for database-level ...  
Pluralize filter:    • Django Template Filters - pluralize filter  

#python #pythonanddjangofullstackwebdeveloper #django


Sur cette page du site, vous pouvez voir la vidéo en ligne Django - Processing POST requests & saving to the database! durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur BugBytes 22 septembre 2025, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 2,255 fois et il a aimé 101 téléspectateurs. Bon visionnage!