Тёмный

Dynamic list views with Django and htmx 

Matt Segal
Подписаться 1,4 тыс.
Просмотров 14 тыс.
50% 1

How to use htmx to make Django list views dynamic without having to write any JavaScript. If you like this video you might also like my blog at mattsegal.dev
Does you business need to launch a new Django site? I can help: mattsegal.com.au
Helpful links:
- Code: github.com/MattSegal/django-h...
- htmx: htmx.org/
- pagination: docs.djangoproject.com/en/3.2...
- fancy example: github.com/AnikaLegal/clerk/b...
0:00 Intro
0:30 Problem examples
1:22 Solution examples
2:48 GitHub project
3:19 Setup
6:01 Review of project without htmx
11:40 Diagram of new architecture
16:23 Preparing HTML templates for htmx
18:42 Creating the search endpoint
21:31 Installing htmx
22:50 Adding htmx to the search bar
26:50 Adding htmx to the next page button
33:17 Conclusion

Наука

Опубликовано:

 

21 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 17   
@Frostbit24
@Frostbit24 2 года назад
Alright, this is actually something practical we can use in a lot of different Django sites. I've read your tutorial about surveys before, nice and clear, easy to read and use. Keep up the good work!
@AmoahDevLabs
@AmoahDevLabs 2 года назад
This is really incredible. Htmx is getting a sit in the Python community.
@Ef-sy4qp
@Ef-sy4qp 2 года назад
Thanks Matt!! please keep making videos
@mrmuranga
@mrmuranga 2 года назад
Matt...Thanks Dude.....this has made my day and wkend....sending htmx seamlessly to my app.......Thanks for taking the time ..appreciated.
@Troglodyte2021
@Troglodyte2021 2 года назад
God Bless You, Mr. Segal!
@originaldavidhimself
@originaldavidhimself Год назад
Dude! Matt! You have such a big gift 🎁! Your explanations are superb 👏 2 minutes in and I had already subscribed! Thank you so much for this. It will help me so much in the making of my very first project!!!
@ermalgashimramori
@ermalgashimramori 2 года назад
Thank you man, it is really quality content.
@rhafemeister
@rhafemeister 10 месяцев назад
Great stuff Matt, thanks much!
@carthagely122
@carthagely122 Год назад
Thank you very much
@techhelp4049
@techhelp4049 2 года назад
Quality Content Mate, Django has a huge community I wonder why your videos are not popular yet?
@cytixify
@cytixify 2 года назад
Wow! this is amazing
@igorgant8301
@igorgant8301 Год назад
Thank you Sir. Great video. Subscribed.
@gasrat
@gasrat Год назад
great tutorial, helped me a ton you say quis really funny at one part and made me laugh, so thanks
@nocopyrightgameplaystockvi231
Can you show a video to optimize Django app for passing a good number of requests? Thanks.
@djangodeveloper07
@djangodeveloper07 Год назад
how to add spinner while loading the data from database. because on production sometimes data takes times to return. and one more thing how to keep these endpoints secure so only within site they are used not directly.
@nicenaija9952
@nicenaija9952 2 года назад
Please make more videos
@Regal975
@Regal975 2 года назад
There is a simpler way to replace the pagination button - replace the button itself with the next page. See: htmx.org/examples/click-to-load/ Simplified code: github.com/MattSegal/django-htmx-list-view/tree/simplified-htmx
Далее
HTMX with Django
2:17
Просмотров 2,9 тыс.
Making a Game With C++ and SDL2
8:14
Просмотров 1,7 млн
skibidi toilet 76 (part 2)
04:28
Просмотров 14 млн
КРЫЛЬЯ - ЗЕНИТ: все голы
01:00
Просмотров 94 тыс.
Why Learn HTMX?? | Prime Reacts
21:29
Просмотров 119 тыс.
The New dialog HTML Element Changes Modals Forever
12:09
Founder of Car Companies From Different Countries
4:17
Django или FastAPI - кто быстрее?
35:35
Просмотров 14 тыс.
Track and view model object versions in Django
21:07
Просмотров 2,1 тыс.
Dynamic Web Pages Without JavaScript? - Intro to HTMX
20:05
Creator of HTMX Talks HTMX
1:02:41
Просмотров 172 тыс.
iPhone 16 - НЕ СТОИТ ПРОПУСКАТЬ
4:50
Лучшие кожаные чехлы для iPhone
1:00