3 Ways of Using Async in Django and DRF
Vložit
- čas přidán 11. 09. 2024
- In this tutorial we will explore 3 different ways of using Async in Django, via Django Async Views, Django Ninja and Django Rest Framework
⚡ Implement with Python From Scratch⚡ : The Map Function (How Maps works)
💻 Code:github.com/jch...
📝 Blog:blog.jchariste...
📺 Become a Patron: / jcharistech
🧑🏻🔧 Warp Terminal Invite:app.warp.dev/r...
🎓=== Check out these Awesome Data Science Courses!===🎓
🧑🏻🔧 Building ML Web Apps:www.udemy.com/...
🧑🏻🎓 Learn Streamlit: www.udemy.com/...
🧑🎓BioInformatics in Python:www.udemy.com/...
🤵🏻 Go4DataScience & Go For NLP(Udemy): www.udemy.com/...
🧑🏻🔧 Machine Learning in Python:www.udemy.com/...
🧑🏻🎓 DVC and Git For Data Science:www.udemy.com/...
🧑🏻🔧 Practical Backend Developer Roadmap: www.udemy.com/...
If you liked the video don't forget to leave a like 👍 or subscribe ❤️.
⚡ If you need any help just message me in the comments, you never know it might help someone else too. ⚡
⏲️===TimeStamps===⏲️
0:01 Intro
00:50 3 Ways
02:00 Installation & Setup
03:00 Basic Django App
08:20 Using Aiohttp for Async
09:25 Using Request for Sync
10:50 Synchronous Views
16:34 Async fxn inside Django Views
19:40 Convert Sync to Async View
21:05 Django Async Support via Asgiref
23:55 Async API via Django RestFramework
29:00 Add Swagger
33:40 Why Async does not work in DRF
35:25 How aDRF works
37:17 Fixing and Retry APIView
38:14 Using aDRF in Django Rest Framework
41:00 Using Django-Ninja for Async APIs
48:20 Swagger for Django Ninja
49:49 Using Uvicorn - Asgi Server
53:02 Recap
JCharisTech
Support the Channel: Become a Patreon
📺 Become a Patron: / jcharistech
◾◾◾Get The Data Science Prime App◾◾◾
@ Playstore : bit.ly/2LArYQu
◾◾◾ Need Your Dataset Cleaned check out this gig ◾◾◾
www.fiverr.com...
Follow
💻 / jcharistech
🌎 Website: jcharistech.com
📂 GitHub: github.com/Jch...
📱 Twitter: / jcharistech
📝 Blog: blog.jchariste...
📺 Patreon: / jcharistech
🌐 WP: jcharistech.wo...
🏫 Course: jcharistech-ins...