Django & HTMX App - Display Transactions | django-filter FilterSet

Sdílet
Vložit
  • čas přidán 5. 06. 2024
  • In this video, we'll build a list page for the user's transactions, and will style it up with TailwindCSS and DaisyUI.
    We'll also build a FilterSet class in Django, using the django-filter package, to allow us to easily filter transactions using a form on the page.
    Github: github.com/bugbytes-io/Django...
    ☕️ 𝗕𝘂𝘆 𝗺𝗲 𝗮 𝗰𝗼𝗳𝗳𝗲𝗲:
    To support the channel and encourage new videos, please consider buying me a coffee here:
    ko-fi.com/bugbytes
    📌 𝗖𝗵𝗮𝗽𝘁𝗲𝗿𝘀:
    00:00 Intro
    01:16 Github Repository
    02:58 Creating Django view to display transactions
    05:40 Adding template for transactions
    08:42 Adding DaisyUI table for transactions
    15:46 Adding default ordering for transactions in Django model
    17:33 Adding django-filter FilterSet class
    28:19 Restructure page with TailwindCSS column system
    31:36 Making transaction list page mobile-friendly
    𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:
    📖 Blog: bugbytes.io/posts/
    👾 Github: github.com/bugbytes-io/Django...
    🐦 Twitter: / bugbytesio
    📚 𝗙𝘂𝗿𝘁𝗵𝗲𝗿 𝗿𝗲𝗮𝗱𝗶𝗻𝗴 𝗮𝗻𝗱 𝗶𝗻𝗳𝗼𝗿𝗺𝗮𝘁𝗶𝗼𝗻:
    DaisyUI: daisyui.com/
    HeroIcons: heroicons.com/
    HTMX: htmx.org/docs/
    Django-Filter: django-filter.readthedocs.io/...
    #python #django #webdevelopment

Komentáře • 16

  • @bugbytes3923
    @bugbytes3923  Před měsícem +6

    Playlist link: czcams.com/video/6OlILeP9GKg/video.html
    Github repository: github.com/bugbytes-io/Django-HTMX-Finance-App

  • @seydinaoumarsamabaly1806
    @seydinaoumarsamabaly1806 Před měsícem +6

    It's always a pleasure to watch your tutorials. There is always something to learn. Thank for all Master 🙌🏾.

    • @bugbytes3923
      @bugbytes3923  Před měsícem

      Thanks as always! Much appreciated mate.

  • @unaisulhadi9102
    @unaisulhadi9102 Před 23 dny

    I come from Mobile development background, Now learning Django. Your videos are super helpful. Keep going.!

  • @TomOhle1
    @TomOhle1 Před 21 dnem +1

    Very enjoyable follow along!

  • @francoisschoeman5350
    @francoisschoeman5350 Před měsícem

    I've run into some dependency issues using Python 3.12. Wasn't too difficult to solve, but beginners might struggle a bit. Watching this series for a Django refresher and to learn me some HTMX.
    Thanks for part 2! Looking forward to part 3... 😁

  • @pa-vl1kg
    @pa-vl1kg Před měsícem

    Thanks a lot for your videos and effort. A consideration, I think it would be best if you do a md file in your git repo with at least the playlist or the videos links. Thanks again.

  • @frameff9073
    @frameff9073 Před měsícem

    🎉 Thank

  • @TheAliAhad
    @TheAliAhad Před 5 dny

    Hi, It would be great to make a dedicated video about Django-allauth production ready app.

    • @bugbytes3923
      @bugbytes3923  Před 5 dny

      Thanks for the suggestion. I’m doing some allauth video prep at the moment for a deep dive into the package!

  • @dodokwak
    @dodokwak Před 25 dny +1

    Thank you very much.
    Just small note: seems that the current version of widget-tweaks is incompatible with Django 5.0 (got an error in the template: AttributeError 'super' object has no attribute _set_choices . Uninstalled django 5 and install 4.2, works fine!

    • @adeyemibiola9763
      @adeyemibiola9763 Před 19 dny

      You are absolutely right.

    • @wer_gumizz1012
      @wer_gumizz1012 Před 17 dny +1

      Had the same error, and upgraded django-filters to version 24.2 which solves the problem for me in Django 5

    • @davidapi7
      @davidapi7 Před 8 dny

      @@wer_gumizz1012 Agreed. Works after upgrade of django-filters to 24.2 in requirements.txt for Django 5.x.