django-cotton - Modern Components in Django!

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

КОМЕНТАРІ • 84

  • @bugbytes3923
    @bugbytes3923  16 днів тому +1

    ☕ Buy a coffee: ko-fi.com/bugbytes
    ⭐Top resource to learn Python - datacamp.pxf.io/kOjKkV ⭐

  • @pushpangc
    @pushpangc 3 місяці тому +35

    The only channel you need to follow if you want to get updated with Django ❤❤

  • @dmccallie
    @dmccallie 3 місяці тому +17

    I would love to see a comparison between the various “component” libraries for django, including how they differ from the built-in “include” template command

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      Thanks for that, I think it's a good idea too, will prepare something soon!

  • @МаксимБалашов-м3г
    @МаксимБалашов-м3г 3 місяці тому +8

    Your django videos are great! Thanks for the work! I really want to see how django-cotton will interact with HTMX and AlpineJS

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

      Will definitely do this, sometime soon!

  • @ItsEverythingElse
    @ItsEverythingElse 3 місяці тому +3

    Biggest problem is this a VERY new package and there will be growing pains, but the idea is spot-on!

  • @BrantScalan
    @BrantScalan 3 місяці тому +14

    would love a couple videos on django-cotton along with HTMX

  • @ItsEverythingElse
    @ItsEverythingElse 3 місяці тому +4

    Doing a comparison was the first thing I thought of. Please do!

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

      Will prep something in the near future, thanks!

  • @schugge-solutions
    @schugge-solutions 3 місяці тому +1

    Your videos are always spot on, giving a clear overview of new features and libraries without any unnecessary talking. I love how you manage to show tons of other features even when the video is about something else... it really adds value. Keep up the great work, you're doing an awesome job!

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      Awesome to hear that - thank you so much!

  • @Copt774
    @Copt774 3 місяці тому +2

    Looks great, cant wait to start using it - thanks for unpacking for us

  • @tobidegnon4409
    @tobidegnon4409 3 місяці тому +2

    Just discovered this myself a few days ago, beautiful stuff, définitively my favorite

  • @marcuslkms
    @marcuslkms 3 місяці тому +3

    oohhh, would love to try this with HTMX and Hyperscript

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      Will try and prep something soon!

  • @mpicuser
    @mpicuser 3 місяці тому +1

    Another great video, thank you!

  • @wiki-infodevelopment3369
    @wiki-infodevelopment3369 2 місяці тому +1

    very nice, hope other tutos with Django-React :)

  • @ABwaslive
    @ABwaslive 3 місяці тому +2

    Hello Bug Bytes, I have been following your videos and have enjoyed learning.
    I truly like your teaching styles. ❤
    Are you planning to make a series video on Docker and Django? Would love to watch it.

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

      Thank you! Yes, there are plans and I have some early content prepared for it - hopefully will get round to doing it before the end of the year.

    • @ABwaslive
      @ABwaslive 3 місяці тому

      @@bugbytes3923 Sure and many thanks for your tutorials.

  • @AmoahDevLabs
    @AmoahDevLabs 3 місяці тому +2

    Nice, thanks for sharing.

  • @codedjango
    @codedjango 3 місяці тому +3

    Surely would like to see this package with htmx as well..thank you so much 👍

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

      Thanks! I'll get an HTMX / cotton video done ASAP!

  • @TechForgetechnologies
    @TechForgetechnologies 3 місяці тому +2

    You are the best ❤❤❤

  • @onnot701
    @onnot701 3 місяці тому +4

    love this. But the problem with plugins like this is the question if it still supported in 5years 10years... If not you can't upgrade Django and are stuck with it or need to fork the plugin and maintain it yourself. I would like to see this in Django itself.

    • @wrabit1
      @wrabit1 3 місяці тому

      It's a good point, it's for sure safer to commit to if it's baked into the framework. For now the compiler in cotton is probably something Django will not want to incorporate into it's core due to an external dependency - there are thoughts about writing a custom parser which would be more attractive as an official loader or backend.

  • @keinermendoza4631
    @keinermendoza4631 3 місяці тому +1

    I really like this package. Just a Note that took me a while to figure out: for use both `django-unfold` and `django-cotton` in the same project you need to override the Cotton loader to avoid it matching the admin templates. Otherwise, the admin won't render well

    • @wrabit1
      @wrabit1 3 місяці тому +4

      A release was made today to avoid processing non-cotton templates - so you should be good now!

    • @keinermendoza4631
      @keinermendoza4631 3 місяці тому +2

      @@wrabit1 That's awesome, thanks bro! That's a very nice package, thanks for publishing it.

  • @MicahKillian
    @MicahKillian 3 місяці тому

    Slippers and django-pattern-library are designed to work together. Pattern library is nice for collecting your components all in one place, creating a toolkit that's easy to navigate, etc.
    It'd be nice to know how Cotton and the Pattern Library extensions can be used together.

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      I'll need to check out django-pattern-library, I haven't come across it yet.

  • @omaral-halabiah2851
    @omaral-halabiah2851 3 місяці тому

    yes, I have interest to comparison between all of those different component packages, please make a video about that

  • @mahbuburrahmanmealbrac660
    @mahbuburrahmanmealbrac660 Місяць тому +1

    I watch your all video. Please make more advance video on django-cotton.

    • @bugbytes3923
      @bugbytes3923  Місяць тому

      Thank you! I'll add more django-cotton content in the near future!

  • @tahakhidr
    @tahakhidr 3 місяці тому +1

    Thanks for the timely video! I was actually learning Django Slippers today, so this is perfect. By the way, could you share the extension you're using to colorize Django template tags? It looks great!

  • @nicenaija9952
    @nicenaija9952 3 місяці тому

    i see me using this with buttons. Well done

  • @themarksmith
    @themarksmith 3 місяці тому +2

    Def interested in component vids and htmx demo... does this mean cotton can be used with projects which have multiple apps?

  • @py-wolf
    @py-wolf 15 днів тому

    I love django

  • @DelioC
    @DelioC 3 місяці тому

    I have really learned a lot from your content. If I could make one suggestion, it would be to add some of the things that you use in your tutorials on your own blog, so that the content is searchable. Sometimes it is difficult to find the videos we are searching for on youtube. It would be easier to search your blog.

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

      Great suggestion. The blog is currently just a static site. But at some point I'm going to need a server and add things like pagination, search, etc.

  • @MatovoJames
    @MatovoJames 3 місяці тому

    amazing channel

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      Thanks a lot, much appreciated!

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

    Besides using cotton, can we acheive similar thing by utilizing marcros in jinja? I would love to see some videos in future.

  • @christ-renaud2700
    @christ-renaud2700 3 місяці тому

    thanks

  • @frameff9073
    @frameff9073 3 місяці тому

    good thank you

  • @JohnMatthew1
    @JohnMatthew1 3 місяці тому

    What color theme are you using for vsc?

  • @nikolas4749
    @nikolas4749 3 місяці тому +1

    It would be good to have a cotton htmx video.
    By the way are you scottish ?

    • @legion_prex3650
      @legion_prex3650 3 місяці тому +2

      yes, he is

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

      I'll prepare something with HTMX soon. And yeah, Scottish!

  • @yvesbouda1489
    @yvesbouda1489 3 місяці тому

    can we use cotton component in app template ?

  • @regular2024
    @regular2024 3 місяці тому +2

    My feb youtube channel

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      Awesome to hear, thanks a lot!

  • @thekenapp535
    @thekenapp535 3 місяці тому

    I already have a project that I have made use of APP DIR templates. does it mean it wont work with cotton since I have to set it to False

  • @mentotong9652
    @mentotong9652 3 місяці тому

    I am running into issues when loading the index.html. where it says the template doesnt exist.

  • @AndiichiDev
    @AndiichiDev Місяць тому

    if i want to use tailwindcss instead of bootstrap, would i be able to?

    • @bugbytes3923
      @bugbytes3923  Місяць тому

      Yeah - django-cotton can be used with any CSS framework!

  • @alexsyzoniuk8335
    @alexsyzoniuk8335 3 місяці тому +1

    django cotton htmx - and we don't need react

  • @ItsEverythingElse
    @ItsEverythingElse 3 місяці тому

    Compare with Slippers, that seems to be the most similar.

  • @stonedoubt
    @stonedoubt 18 днів тому

    Looks like blade components for livewire (Laravel)

  • @maheshpol20
    @maheshpol20 3 місяці тому

    please create video on django at backend and reflex on frontend,...,.

    • @bugbytes3923
      @bugbytes3923  3 місяці тому

      I haven't used Reflex much yet. Will check it out

    • @maheshpol20
      @maheshpol20 3 місяці тому

      @@bugbytes3923 relfex will releminate requirement of nextjs/react with django requiement.
      Pure python development is possible by Reflex

  • @freshnews7198
    @freshnews7198 3 місяці тому

    Will Django defeat React or others

    • @alsaamit
      @alsaamit 3 місяці тому

      React is not a backend framework.