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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 ธ.ค. 2024

ความคิดเห็น • 94

  • @Greyvend
    @Greyvend หลายเดือนก่อน +1

    I can't remember when I watched 40 minutes of coding video with full attention and getting so much value out of it. Very well done, sir. You got a new subscriber.

    • @bugbytes3923
      @bugbytes3923  หลายเดือนก่อน

      Thanks a lot, that's awesome - glad the video was useful!

  • @ParhamSalamati
    @ParhamSalamati ปีที่แล้ว +11

    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  ปีที่แล้ว +1

      Thanks a lot! Glad it was useful! :)

  • @ibrahimyakupaydn
    @ibrahimyakupaydn 10 หลายเดือนก่อน +6

    Using Django , htmx in my recent project, this video helps me a lot. Good to know daisy UI. Thanks for the video.

    • @bugbytes3923
      @bugbytes3923  10 หลายเดือนก่อน +1

      Thanks a lot! Glad it has helped!

  • @onealoneal7047
    @onealoneal7047 9 หลายเดือนก่อน +1

    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  9 หลายเดือนก่อน

      Thanks a lot for the nice comment!

  • @Alex-rj6fo
    @Alex-rj6fo ปีที่แล้ว +5

    Thank you for your work, I do not miss your video with training Django and htmx

  • @myoji5580
    @myoji5580 ปีที่แล้ว +6

    HTMX contents always is very good.

  • @siddharthakhanal9424
    @siddharthakhanal9424 ปีที่แล้ว +4

    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  ปีที่แล้ว +1

      Thanks a lot for the nice comment! I'd like to do some Wagtail videos, for sure. Hopefully early in the new year, perhaps?

  • @tharushapiyumal
    @tharushapiyumal 3 หลายเดือนก่อน

    This is what all I needed... Django and HTMX 🖤

  • @krisvanhouten1543
    @krisvanhouten1543 ปีที่แล้ว +1

    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  ปีที่แล้ว

      Thanks a lot dude! Glad to hear that.

  • @MuhammedKamaal
    @MuhammedKamaal 15 วันที่ผ่านมา

    keep doing projects sir :) thanks alot for helping ppl out there

  • @monorepo
    @monorepo ปีที่แล้ว +1

    This was nice! Love DaisyUI.
    Litestar, HTMX, DaisyUI when ;)

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว +2

      Thanks! Awesome idea, let's see if I can create something :D

  • @AmoahDevLabs
    @AmoahDevLabs ปีที่แล้ว

    I love DaisyUI. Thanks for sharing

  • @mariocortes2670
    @mariocortes2670 ปีที่แล้ว +1

    Thanks for your content.

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      Thanks as always for the support!

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 ปีที่แล้ว +1

    Excellent!

  • @hammoudamoujehed6112
    @hammoudamoujehed6112 9 หลายเดือนก่อน

    Wonderful video! Can you explain how to add the toast message for this exercise?

  • @raffritter6766
    @raffritter6766 ปีที่แล้ว

    Very smooth, appreciate it:)

  • @立法院很忙
    @立法院很忙 ปีที่แล้ว +1

    Awesome.

  • @omaral-halabiah2851
    @omaral-halabiah2851 11 หลายเดือนก่อน +1

    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 10 หลายเดือนก่อน +1

      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 10 หลายเดือนก่อน

      Can you say what partials are please? Super noob here@@deidyomega

  • @prashlovessamosa
    @prashlovessamosa ปีที่แล้ว +1

    Thanks for awesome videos.

  • @user-pp1do4zq7p
    @user-pp1do4zq7p ปีที่แล้ว +1

    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  ปีที่แล้ว

      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.

  • @repotranstech
    @repotranstech ปีที่แล้ว

    Another cool video.

  • @winz1527
    @winz1527 ปีที่แล้ว +1

    Great video

  • @bakaresegun4180
    @bakaresegun4180 ปีที่แล้ว +1

    Can I I love you? Hope i am not bridging any moral? Bro, you are the best. I love you❤

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      Haha thank you!

    • @bakaresegun4180
      @bakaresegun4180 ปีที่แล้ว

      @@bugbytes3923 But please can you do a series on Django Channels? Please!!!! For God sake

  • @Noritoshi-r8m
    @Noritoshi-r8m ปีที่แล้ว +1

    Good ol Django

  • @SanzharZiada
    @SanzharZiada 10 หลายเดือนก่อน

    17:05 How should I do it in production?

  • @gabrielpasv
    @gabrielpasv 9 หลายเดือนก่อน

    Have you considering create a tutorial about django and multi tenancy ? Maybe with django-tenants package ? Thanks

  • @lt8cn
    @lt8cn ปีที่แล้ว

    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  ปีที่แล้ว

      That's awesome - thanks a lot!

  • @natehardy3311
    @natehardy3311 8 หลายเดือนก่อน

    Not gonna say a lot. Just thank you 😊

    • @bugbytes3923
      @bugbytes3923  8 หลายเดือนก่อน

      Thanks a lot!

  • @christopheanfry
    @christopheanfry 9 หลายเดือนก่อน

    Very nice video but not very recommended to use cdn in production. The Django Tailwind package works very well!!! Have you tried it?

  • @htlcnn
    @htlcnn ปีที่แล้ว

    Could you please show how to add a Modal to confirm deletion? Thanks.

  • @DonjiKong
    @DonjiKong 4 หลายเดือนก่อน

    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  4 หลายเดือนก่อน

      I did it via the admin - what error are you getting when visiting the admin panel?

  • @AdnanNazirAhmed
    @AdnanNazirAhmed ปีที่แล้ว +1

    Very helpful

  • @RobertoFabrizi
    @RobertoFabrizi ปีที่แล้ว

    Amazing video thank you!! A bit ot, but is there a no js framework component library for unocss?

  • @ZodakZach
    @ZodakZach 11 หลายเดือนก่อน

    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  11 หลายเดือนก่อน

      Awesome, glad this was helpful! Good luck with your project!

  • @knwanze
    @knwanze 9 หลายเดือนก่อน

    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?

    • @winningtech5
      @winningtech5 2 หลายเดือนก่อน +1

      reduce computation.

  • @aman4069
    @aman4069 9 หลายเดือนก่อน

    I still don't understand what Django extensions are used for?? Could you please explain to me

  • @justtsanjint626
    @justtsanjint626 5 หลายเดือนก่อน

    Thank you

  • @serychristianrenaud
    @serychristianrenaud ปีที่แล้ว +1

    Thanks

  • @mahmoudramadan6581
    @mahmoudramadan6581 11 หลายเดือนก่อน

    Amazing

    • @bugbytes3923
      @bugbytes3923  11 หลายเดือนก่อน

      Thanks a lot!

  • @Good-and-Geeky
    @Good-and-Geeky ปีที่แล้ว

    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  ปีที่แล้ว

      Hey - should be in the video description! I’ll add the link if you can’t see it!

    • @Good-and-Geeky
      @Good-and-Geeky ปีที่แล้ว

      @@bugbytes3923 thanks

  • @amine63404
    @amine63404 9 หลายเดือนก่อน

    Please, we need a tutorial about django All auth, it's a great solution and the good turotials like yours are missing.

    • @bugbytes3923
      @bugbytes3923  9 หลายเดือนก่อน +1

      Great suggestion - I'll hopefully add this soon.

  • @AlexeyDzuba
    @AlexeyDzuba ปีที่แล้ว

    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 ปีที่แล้ว

      А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 ปีที่แล้ว

      @@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

  • @VladimirMinčić-v7z
    @VladimirMinčić-v7z 10 หลายเดือนก่อน

    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 8 หลายเดือนก่อน

      Try to assign to response['HX-Trigger'] an event name in kebab-case and not in camel case

  • @Cyrixau
    @Cyrixau ปีที่แล้ว

    Are these CDNs fine to use once deployed and in production?

    • @bugbytes3923
      @bugbytes3923  ปีที่แล้ว

      Not really - it's better to have the dependencies served from your server.

  • @frameff9073
    @frameff9073 ปีที่แล้ว

    Good thank

  • @hey_james
    @hey_james 8 หลายเดือนก่อน

    NOT ANOTHER GOD DAMN TODO TUTORIAL!!!!!!!!!!!!!

  • @omother942
    @omother942 ปีที่แล้ว

    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

  • @RootsterAnon
    @RootsterAnon ปีที่แล้ว +2

    You lost me at Django

  • @aman4069
    @aman4069 9 หลายเดือนก่อน

    I still don't understand what Django extensions are used for?? Could you please explain to me