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

Поділитися
Вставка
  • Опубліковано 18 вер 2024

КОМЕНТАРІ • 89

  • @ibrahimyakupaydn
    @ibrahimyakupaydn 7 місяців тому +5

    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 місяців тому +1

      Thanks a lot! Glad it has helped!

  • @ParhamSalamati
    @ParhamSalamati 10 місяців тому +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! :)

  • @Alex-rj6fo
    @Alex-rj6fo 10 місяців тому +5

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

  • @onealoneal7047
    @onealoneal7047 6 місяців тому +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  6 місяців тому

      Thanks a lot for the nice comment!

  • @myoji5580
    @myoji5580 10 місяців тому +5

    HTMX contents always is very good.

  • @siddharthakhanal9424
    @siddharthakhanal9424 10 місяців тому +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  10 місяців тому +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 27 днів тому

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

  • @krisvanhouten1543
    @krisvanhouten1543 9 місяців тому +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  9 місяців тому

      Thanks a lot dude! Glad to hear that.

  • @monorepo
    @monorepo 9 місяців тому +1

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

    • @bugbytes3923
      @bugbytes3923  9 місяців тому +2

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

  • @AmoahDevLabs
    @AmoahDevLabs 10 місяців тому

    I love DaisyUI. Thanks for sharing

  • @mariocortes2670
    @mariocortes2670 10 місяців тому +1

    Thanks for your content.

    • @bugbytes3923
      @bugbytes3923  10 місяців тому

      Thanks as always for the support!

  • @raffritter6766
    @raffritter6766 10 місяців тому

    Very smooth, appreciate it:)

  • @立法院很忙
    @立法院很忙 10 місяців тому +1

    Awesome.

  • @prashlovessamosa
    @prashlovessamosa 10 місяців тому +1

    Thanks for awesome videos.

  • @Noritoshi-r8m
    @Noritoshi-r8m 10 місяців тому +1

    Good ol Django

  • @serychristianrenaud
    @serychristianrenaud 10 місяців тому +1

    Thanks

  • @nadetdevfullstack7041
    @nadetdevfullstack7041 9 місяців тому +1

    Excellent!

  • @user-pp1do4zq7p
    @user-pp1do4zq7p 10 місяців тому +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  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.

  • @omaral-halabiah2851
    @omaral-halabiah2851 8 місяців тому +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 7 місяців тому +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 7 місяців тому

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

  • @winz1527
    @winz1527 10 місяців тому +1

    Great video

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

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

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

  • @justtsanjint626
    @justtsanjint626 2 місяці тому

    Thank you

  • @hammoudamoujehed6112
    @hammoudamoujehed6112 6 місяців тому

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

  • @bakaresegun4180
    @bakaresegun4180 10 місяців тому +1

    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

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

  • @repotranstech9614
    @repotranstech9614 10 місяців тому

    Another cool video.

  • @natehardy3311
    @natehardy3311 5 місяців тому

    Not gonna say a lot. Just thank you 😊

  • @amine63404
    @amine63404 6 місяців тому

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

    • @bugbytes3923
      @bugbytes3923  6 місяців тому +1

      Great suggestion - I'll hopefully add this soon.

  • @gabrielpasv
    @gabrielpasv 6 місяців тому

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

  • @RobertoFabrizi
    @RobertoFabrizi 10 місяців тому

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

  • @aman4069
    @aman4069 6 місяців тому

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

  • @htlcnn
    @htlcnn 9 місяців тому

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

  • @AdnanNazirAhmed
    @AdnanNazirAhmed 10 місяців тому +1

    Very helpful

  • @frameff9073
    @frameff9073 10 місяців тому

    Good thank

  • @SanzharZiada
    @SanzharZiada 7 місяців тому

    17:05 How should I do it in production?

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

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

  • @mahmoudramadan6581
    @mahmoudramadan6581 8 місяців тому

    Amazing

  • @user-rp7fc3fj3y
    @user-rp7fc3fj3y 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

  • @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 9 місяців тому

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

  • @Cyrixau
    @Cyrixau 9 місяців тому

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

    • @bugbytes3923
      @bugbytes3923  9 місяців тому

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

  • @hey_james
    @hey_james 5 місяців тому

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

  • @niquedegraaff
    @niquedegraaff 6 місяців тому +1

    Too bad it still depends on npm

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

  • @RootsterAnon
    @RootsterAnon 10 місяців тому +2

    You lost me at Django

  • @aman4069
    @aman4069 6 місяців тому

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