Тёмный

Django, HTMX and DaisyUI Components - Building a To-Do List App 

BugBytes
Подписаться 31 тыс.
Просмотров 25 тыс.
50% 1

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

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 89   
@ibrahimyakupaydn
@ibrahimyakupaydn 7 месяцев назад
Using Django , htmx in my recent project, this video helps me a lot. Good to know daisy UI. Thanks for the video.
@bugbytes3923
@bugbytes3923 7 месяцев назад
Thanks a lot! Glad it has helped!
@monorepo
@monorepo 10 месяцев назад
This was nice! Love DaisyUI. Litestar, HTMX, DaisyUI when ;)
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks! Awesome idea, let's see if I can create something :D
@nadetdevfullstack7041
@nadetdevfullstack7041 9 месяцев назад
Excellent!
@bugbytes3923
@bugbytes3923 9 месяцев назад
Thanks!
@ParhamSalamati
@ParhamSalamati 10 месяцев назад
This was sooooo properly tailored to give as much information as possible in ~40 minutes that exceeded my expectations on value vs time spent on a video! THANK YOU FOR DOING THIS!
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot! Glad it was useful! :)
@serychristianrenaud
@serychristianrenaud 10 месяцев назад
Thanks
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks for watching!
@Noritoshi-r8m
@Noritoshi-r8m 10 месяцев назад
Good ol Django
@prashlovessamosa
@prashlovessamosa 10 месяцев назад
Wanna Say God .😅
@knwanze
@knwanze 6 месяцев назад
I've seen a similar pattern somewhere else for inserting the new to-do item in the list by using hx-swap: afterbegin or beforeend. My question is if you're updating the DB with a new list item is it not easier to just fetch all the to-dos and swap innerHTML with the partial of list items and call it a day? Or are there advantages to doing the other way?
@ZodakZach
@ZodakZach 8 месяцев назад
Wow i literally am making my capstone project and my idea was to use django, with htmx , tailwind with daisyui like this exact setup but with postgreSQL for db. and then i came across this video and its already been done lol great minds think alike ig but yeah seems like a good tech stack.
@bugbytes3923
@bugbytes3923 8 месяцев назад
Awesome, glad this was helpful! Good luck with your project!
@omaral-halabiah2851
@omaral-halabiah2851 8 месяцев назад
thanks very much for your efforts, if we want to add "edit_todo" functionality to update tr inplace using htmx and template_partials , how we can do that ?
@deidyomega
@deidyomega 8 месяцев назад
Have a btn that replaces the closest tr with a new tr that includes a form (using partials would be smart here too).
@n.a3642
@n.a3642 7 месяцев назад
Can you say what partials are please? Super noob here@@deidyomega
@htlcnn
@htlcnn 9 месяцев назад
Could you please show how to add a Modal to confirm deletion? Thanks.
@omother942
@omother942 10 месяцев назад
Hijacking this comments section for your Golang + HTMX - Creating a Go webserver video. Is there a way to link that all together so you can have the POST of the form go to a database and automagically update the index.html using HTMX with the new record? Can't connect that dot for the life of me! Thanks for your content - loving your Go + HTMX stuff
@Alex-rj6fo
@Alex-rj6fo 10 месяцев назад
Thank you for your work, I do not miss your video with training Django and htmx
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot!
@myoji5580
@myoji5580 10 месяцев назад
HTMX contents always is very good.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Cheers!
@prashlovessamosa
@prashlovessamosa 10 месяцев назад
Thanks for making Awesome stuff.
@christopheanfry2425
@christopheanfry2425 6 месяцев назад
Very nice video but not very recommended to use cdn in production. The Django Tailwind package works very well!!! Have you tried it?
@aman4069
@aman4069 7 месяцев назад
I still don't understand what Django extensions are used for?? Could you please explain to me
@aman4069
@aman4069 7 месяцев назад
I still don't understand what Django extensions are used for?? Could you please explain to me
@siddharthakhanal9424
@siddharthakhanal9424 10 месяцев назад
Thank you for your invaluable content! I've been a long-time viewer, learning so much from your videos. I'd greatly appreciate more Wagtail CMS tutorials, as there's a scarcity of quality content online. Your expertise would make a significant impact. Gratefully looking forward to it!
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot for the nice comment! I'd like to do some Wagtail videos, for sure. Hopefully early in the new year, perhaps?
@DonjiKong
@DonjiKong Месяц назад
at 6:57, you magically add data, how?! I'm getting an error when I try to go to the admin panel at /admin/core/todo/, is it because I don't have any data in it yet?
@bugbytes3923
@bugbytes3923 Месяц назад
I did it via the admin - what error are you getting when visiting the admin panel?
@SanzharZiada
@SanzharZiada 7 месяцев назад
17:05 How should I do it in production?
@VladimirMinčić-v7z
@VladimirMinčić-v7z 7 месяцев назад
When I click to delete ToDo, it deletes but does not go away from the screen, I have to refresh the page. I do not know why.
@salvatore_de_fazio
@salvatore_de_fazio 5 месяцев назад
Try to assign to response['HX-Trigger'] an event name in kebab-case and not in camel case
@amine63404
@amine63404 7 месяцев назад
Please, we need a tutorial about django All auth, it's a great solution and the good turotials like yours are missing.
@bugbytes3923
@bugbytes3923 7 месяцев назад
Great suggestion - I'll hopefully add this soon.
@justtsanjint626
@justtsanjint626 2 месяца назад
Thank you
@onealoneal7047
@onealoneal7047 6 месяцев назад
I really like the way you going straight forward to what we are expecting for from you when we read the titles of your videos. Your work its just amazing!
@bugbytes3923
@bugbytes3923 6 месяцев назад
Thanks a lot for the nice comment!
@user-pp1do4zq7p
@user-pp1do4zq7p 10 месяцев назад
Cool, nice to learn about tools and components that will make Django Templating alot easier and modern! Is there a similar UI library to create a dashboard? Maybe a more streamlined way to integrate ChartJS using alpine or hyperscript or something along those lines?
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thank you! Good questions there - will have a look to see, but I'm not currently aware of a charting library that uses Alpine/Hyperscript.
@gabrielpasv
@gabrielpasv 7 месяцев назад
Have you considering create a tutorial about django and multi tenancy ? Maybe with django-tenants package ? Thanks
@krisvanhouten1543
@krisvanhouten1543 10 месяцев назад
Dude, loved this content. I've been hearing a lot about HTMX lately, and have been wanting to learn Django/Python so this video was a nice starter.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot dude! Glad to hear that.
@hammoudamoujehed6112
@hammoudamoujehed6112 7 месяцев назад
Wonderful video! Can you explain how to add the toast message for this exercise?
@natehardy3311
@natehardy3311 6 месяцев назад
Not gonna say a lot. Just thank you 😊
@bugbytes3923
@bugbytes3923 5 месяцев назад
Thanks a lot!
@RobertoFabrizi
@RobertoFabrizi 10 месяцев назад
Amazing video thank you!! A bit ot, but is there a no js framework component library for unocss?
@mariocortes2670
@mariocortes2670 10 месяцев назад
Thanks for your content.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks as always for the support!
@立法院很忙
@立法院很忙 10 месяцев назад
Awesome.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks!
@Good-and-Geeky
@Good-and-Geeky 10 месяцев назад
You mention a github repo link with a starter and a requirements.txt.... Where did you put it? Sorry I didn't manage to find it.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Hey - should be in the video description! I’ll add the link if you can’t see it!
@Good-and-Geeky
@Good-and-Geeky 10 месяцев назад
@@bugbytes3923 thanks
@winz1527
@winz1527 10 месяцев назад
Great video
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot!
@tharushapiyumal
@tharushapiyumal Месяц назад
This is what all I needed... Django and HTMX 🖤
@bugbytes3923
@bugbytes3923 Месяц назад
Thanks!
@lt8cn
@lt8cn 10 месяцев назад
this video is better than before, and can you add more form like django inlineform, incloude main form and tow or more subform, and subform can add more rows. crud in one page. Thank you make so many great videos!
@bugbytes3923
@bugbytes3923 10 месяцев назад
That's awesome - thanks a lot!
@Cyrixau
@Cyrixau 10 месяцев назад
Are these CDNs fine to use once deployed and in production?
@bugbytes3923
@bugbytes3923 10 месяцев назад
Not really - it's better to have the dependencies served from your server.
@AlexeyDzuba
@AlexeyDzuba 10 месяцев назад
Hi comrade! I searched for a video about django's formset. For example, you sell stationery and issue invoices. So, the database contains Items table (field 'name') and an Invoices table (fields foreign to name and 'Quantity'). At the frondend, user create a new Invoce, then add line by line Items, and then save it by one button. Also, user can select any existing Invoce and edit it. There must be a way to freely using different widgets at this formset, as data, select2, and another. Can you point me at existed of your tutorial or, maybe, this is an interesting theme for create a new one? I watched your video "Django & HTMX - Dynamic Form Creation and Submission" but I can't imagine how to implement the EDIT part. Also, I see two ways for edit - as in htmx examples ('edit button' for each line in table), but I think it will be hard to create a cute "table to form" transformation, and another way (i think it preferable) - as django's native formset, where each line look as form.
@AlexeyDzuba
@AlexeyDzuba 10 месяцев назад
Аfter thinking about it, I realized that, in fact, it will be a complete imitation Django's Admin inlines))) Can we do it with HTMX, do you think?
@oSpam
@oSpam 10 месяцев назад
@@AlexeyDzuba yeah probably quite easily. Just swap the whole table for the new form and then in the backend on submit revert back, would likely take a bit of view code and a few html files, but seems like an easy enough task
@AmoahDevLabs
@AmoahDevLabs 10 месяцев назад
I love DaisyUI. Thanks for sharing
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks for watching!
@prashlovessamosa
@prashlovessamosa 10 месяцев назад
Thanks for awesome videos.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thank you!
@raffritter6766
@raffritter6766 10 месяцев назад
Very smooth, appreciate it:)
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot!
@repotranstech9614
@repotranstech9614 10 месяцев назад
Another cool video.
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks!
@mahmoudramadan6581
@mahmoudramadan6581 8 месяцев назад
Amazing
@bugbytes3923
@bugbytes3923 8 месяцев назад
Thanks a lot!
@frameff9073
@frameff9073 10 месяцев назад
Good thank
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks!
@bakaresegun4180
@bakaresegun4180 10 месяцев назад
Can I I love you? Hope i am not bridging any moral? Bro, you are the best. I love you❤
@bugbytes3923
@bugbytes3923 10 месяцев назад
Haha thank you!
@bakaresegun4180
@bakaresegun4180 10 месяцев назад
@@bugbytes3923 But please can you do a series on Django Channels? Please!!!! For God sake
@hey_james
@hey_james 5 месяцев назад
NOT ANOTHER GOD DAMN TODO TUTORIAL!!!!!!!!!!!!!
@RootsterAnon
@RootsterAnon 10 месяцев назад
You lost me at Django
@bugbytes3923
@bugbytes3923 10 месяцев назад
That's a shame! 😬
@AdnanNazirAhmed
@AdnanNazirAhmed 10 месяцев назад
Very helpful
@bugbytes3923
@bugbytes3923 10 месяцев назад
Thanks a lot!
@niquedegraaff
@niquedegraaff 7 месяцев назад
Too bad it still depends on npm
Далее
Hyperscript - Interactively Searching Web Content!
12:29
Офицер, я всё объясню
01:00
Просмотров 3,9 млн
Шоколадная девочка
00:23
Просмотров 84 тыс.
django-htmx - Django Extensions for Working with HTMX
37:06
Django & HTMX - Dynamic Form Creation and Submission
24:36
HTMX and the View Transitions API
20:21
Просмотров 14 тыс.
Modal forms with Django+HTMX
54:21
Просмотров 34 тыс.
Django & HTMX App - Infinite Scroll and Pagination
26:30
Офицер, я всё объясню
01:00
Просмотров 3,9 млн