Django and HTMX #9 - Database Query Optimization with django-debug-toolbar

  Рет қаралды 5,429

BugBytes

BugBytes

Күн бұрын

Пікірлер: 40
@laszlo.laszlo
@laszlo.laszlo 2 жыл бұрын
Brilliant! From 305 queries to 6 :-) Great!
@sudoscientist255
@sudoscientist255 Жыл бұрын
This is my favorite playlist on KZbin for Django dev. Thank you for the great content and keep up the good work! :)
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thank you very much, that means a lot! Glad you are enjoying the content. :)
@defidelity
@defidelity 3 жыл бұрын
This is actually the best Video in this series, why I'm I not even aware of any of these. Thanks for this amazing series.
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thanks man! I appreciate the comment. 🙂
@defidelity
@defidelity 3 жыл бұрын
@@bugbytes3923 please something that has to do with click to edit next. Thanks
@AyazAmlani
@AyazAmlani Жыл бұрын
wow. thanks dude. I was not aware of the bulk_update function or the n+1 problem. This is so useful!
@bugbytes3923
@bugbytes3923 Жыл бұрын
Glad to hear it dude, thank you for watching 🙏
@MrValVet
@MrValVet Жыл бұрын
This is awesome. I hope we see more Django query optimization tutorials in the future.
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks a lot! I did a further video on this in the Django ORM playlist: kzbin.info/www/bejne/l2THhaxuh7RoftE
@Peterstavrou
@Peterstavrou Жыл бұрын
This was excellent! No one really teaches this so thank you for running through it. I'm also loving this playlist so far, one of my favorites! I spent so much time learning JavaScript and Vue.js when I could have simply learnt htmx to do the same thing so much quicker and easier!
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks Peter! I'm glad you're enjoying the playlist :) And agreed - HTMX solves most requirements for dynamic web pages. Great time-saver for most folks!
@fhmisml
@fhmisml 3 жыл бұрын
i'm glad found this channel from django ninja docs. As a beginner, your contents are really helpful for me, thankyou.. you deserve more sub, keep it up!
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thank you! I'm glad you are enjoying.
@Crunchy409
@Crunchy409 Жыл бұрын
You have been an invaluable resource in my adventure into Django land. Thank you so much for your time and efforts with this playlist!
@bugbytes3923
@bugbytes3923 Жыл бұрын
Thanks a lot, I'm glad to hear that! Thanks for watching!
@mayconblopes_
@mayconblopes_ 2 жыл бұрын
Oh my, this was a real lesson. Learning a lot with you
@bugbytes3923
@bugbytes3923 2 жыл бұрын
Glad it's useful, thank you!
@eimantasnejus390
@eimantasnejus390 9 ай бұрын
Laughed more than necessary at "2 hours later" :D Awesome series!
@bugbytes3923
@bugbytes3923 9 ай бұрын
haha thanks!
@brablc
@brablc Жыл бұрын
There should be a warning at the start of the series, that n+1 and bulk update problems will be solved later ;-) Being a curious person, I had to learn about the Debug Toolbar earlier, because I wanted to see what SQL statements get generated. It would take me much less time after seeing this episode. I wonder if I will learn about Faker (needed in previous lesson).
@esma3el5551
@esma3el5551 3 жыл бұрын
this is very informative content , good job man
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thank you Ismail! I'm glad you're enjoying :)
@viniciusstucki
@viniciusstucki 3 жыл бұрын
Very nice content and aplications uses! Stay up with the good work. Thank you for sharing your experience. From Brazil =D
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thank you!
@chazzwhu
@chazzwhu 3 жыл бұрын
Loving this series, been keen to implement more htmx with django. Will you be doing the independent dropdown? Thanks!
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thanks for the comment! I'll be trying to do a few more HTMX videos, and I'll try and have a look into that one.
@helixaros
@helixaros Жыл бұрын
hi there, do you have any advice on implementing nested sortable list ?
@aafan.kuware
@aafan.kuware 10 ай бұрын
you are extremely great in Django, I wish I could do the same😊
@bugbytes3923
@bugbytes3923 10 ай бұрын
Thanks for the nice comment!
@owenjones9640
@owenjones9640 3 жыл бұрын
Really enjoying this series, liking htmx more and more as I discover it. I was wondering if you could do a bit in the next episode where you show how to fix the list with pagination when going back from film details/dragging and dropping to reorder. I've been playing around with it a bit trying to get it to work properly, but it's still kind of borked.
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Hey Owen, thanks for the comment. I might try and do a video (or part of a video) fixing this. I think I will also do videos where I build a proper app from the ground up, using Django/HTMX, in the near future too. This film app was kind of a throwaway example that's evolved into a way of showing off HTMX features, but I'd like to do something more coherent too, if there's any interest in that. (hope that makes sense!)
@lexe11
@lexe11 Жыл бұрын
I love the series, thank you very much! There's one line of code I can't put in my head properly: page_number = len(film_pks_order) / settings.PAGINATE_BY This line is in the pagination section of a sort function in a films app. It would be great if you could answer what we count here an why. Thanks.
@blabla-kk8bl
@blabla-kk8bl 2 жыл бұрын
Hi mate so good content, how about safety crf tokens? Is this htmx safe to use? I am confused.
@LegionLeague
@LegionLeague 2 жыл бұрын
Have been following the series. Seems like still sort doesn't work well with infinite scrolling. I still get numbers all mixed up when I infinite-scroll down after some draging and dropping. I wonder if it's just me or anyone else has had this issue.
@justacasualdeveloper
@justacasualdeveloper 3 жыл бұрын
Noice 😁
@bugbytes3923
@bugbytes3923 3 жыл бұрын
Thanks!
@tylersen3318
@tylersen3318 7 ай бұрын
I was really enjoying your videos, so I decided that I wanted to give HTMX a try. I cloned your files for video #9 and tried to install the dependencies, but these older versions failed to install... when I installed the new versions of the dependencies, there were numerous bugs in the code. Adding a movie displays the same movie twice in the browser, even though only one record exists in the database. Deleting the movie clones the input forms and places them to the right. Very strange. It might be time to update this tutorial.
@alnuaimi230
@alnuaimi230 2 жыл бұрын
What about Unpoly js ?!
@TheGunnarRoxen
@TheGunnarRoxen 2 жыл бұрын
"2 hours later" 😂
Django and HTMX #10 - Chained Dropdowns with Django and HTMX
12:27
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН
КОНЦЕРТЫ:  2 сезон | 1 выпуск | Камызяки
46:36
ТНТ Смотри еще!
Рет қаралды 3,7 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Ozoda - Alamlar (Official Video 2023)
6:22
Ozoda Official
Рет қаралды 10 МЛН
Django and HTMX #5 - Building a Dynamic Search Component
20:32
How to Create an Instant Search Bar With Django and HTMX
14:24
Pretty Printed
Рет қаралды 2,1 М.
Ivaylo Donchev - Django queries optimization
31:19
EuroPython Conference
Рет қаралды 10 М.
Building Real-time Apps with Go | Azim Pulat
54:58
Azim Pulat
Рет қаралды 66 М.
Django & HTMX - Dynamic Form Creation and Submission
24:36
BugBytes
Рет қаралды 31 М.
Counter-Strike 2 - Новый кс. Cтарый я
13:10
Marmok
Рет қаралды 2,8 МЛН