django-cotton - Modern Components in Django!

Поделиться
HTML-код
  • Опубликовано: 12 янв 2025

Комментарии • 84

  • @bugbytes3923
    @bugbytes3923  Месяц назад +1

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

  • @pushpangc
    @pushpangc 4 месяца назад +37

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

  • @dmccallie
    @dmccallie 4 месяца назад +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  4 месяца назад

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

  • @МаксимБалашов-м3г
    @МаксимБалашов-м3г 4 месяца назад +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  4 месяца назад +1

      Will definitely do this, sometime soon!

  • @iqbalchalid76
    @iqbalchalid76 17 дней назад +1

    I just made a little try. This is great package. I love the approach.Thank your sharing.

  • @ItsEverythingElse
    @ItsEverythingElse 4 месяца назад +3

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

  • @Copt774
    @Copt774 4 месяца назад +2

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

  • @ItsEverythingElse
    @ItsEverythingElse 4 месяца назад +4

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

    • @bugbytes3923
      @bugbytes3923  4 месяца назад +1

      Will prep something in the near future, thanks!

  • @BrantScalan
    @BrantScalan 4 месяца назад +14

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

  • @tobidegnon4409
    @tobidegnon4409 4 месяца назад +2

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

  • @mpicuser
    @mpicuser 4 месяца назад +1

    Another great video, thank you!

  • @schugge-solutions
    @schugge-solutions 4 месяца назад +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  4 месяца назад

      Awesome to hear that - thank you so much!

  • @ABwaslive
    @ABwaslive 4 месяца назад +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  4 месяца назад +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 4 месяца назад

      @@bugbytes3923 Sure and many thanks for your tutorials.

  • @AmoahDevLabs
    @AmoahDevLabs 4 месяца назад +2

    Nice, thanks for sharing.

  • @marcuslkms
    @marcuslkms 4 месяца назад +3

    oohhh, would love to try this with HTMX and Hyperscript

    • @bugbytes3923
      @bugbytes3923  4 месяца назад

      Will try and prep something soon!

  • @codedjango
    @codedjango 4 месяца назад +3

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

    • @bugbytes3923
      @bugbytes3923  4 месяца назад +1

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

  • @TechForgetechnologies
    @TechForgetechnologies 4 месяца назад +2

    You are the best ❤❤❤

  • @wiki-infodevelopment3369
    @wiki-infodevelopment3369 3 месяца назад +1

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

  • @onnot701
    @onnot701 4 месяца назад +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 4 месяца назад

      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.

  • @MicahKillian
    @MicahKillian 4 месяца назад

    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  4 месяца назад

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

  • @keinermendoza4631
    @keinermendoza4631 4 месяца назад +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 4 месяца назад +4

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

    • @keinermendoza4631
      @keinermendoza4631 4 месяца назад +2

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

  • @mahbuburrahmanmealbrac660
    @mahbuburrahmanmealbrac660 3 месяца назад +1

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

    • @bugbytes3923
      @bugbytes3923  3 месяца назад

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

  • @DelioC
    @DelioC 4 месяца назад

    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  4 месяца назад +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.

  • @omaral-halabiah2851
    @omaral-halabiah2851 4 месяца назад

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

  • @nicenaija9952
    @nicenaija9952 4 месяца назад

    i see me using this with buttons. Well done

  • @MatovoJames
    @MatovoJames 4 месяца назад

    amazing channel

    • @bugbytes3923
      @bugbytes3923  4 месяца назад

      Thanks a lot, much appreciated!

  • @tahakhidr
    @tahakhidr 4 месяца назад +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!

  • @themarksmith
    @themarksmith 4 месяца назад +2

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

  • @TimePasser
    @TimePasser 3 месяца назад

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

  • @py-wolf
    @py-wolf Месяц назад

    I love django

  • @mentotong9652
    @mentotong9652 4 месяца назад

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

  • @JohnMatthew1
    @JohnMatthew1 4 месяца назад

    What color theme are you using for vsc?

  • @thekenapp535
    @thekenapp535 4 месяца назад

    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

  • @nikolas4749
    @nikolas4749 4 месяца назад +1

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

    • @legion_prex3650
      @legion_prex3650 4 месяца назад +2

      yes, he is

    • @bugbytes3923
      @bugbytes3923  4 месяца назад +2

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

  • @frameff9073
    @frameff9073 4 месяца назад

    good thank you

  • @yvesbouda1489
    @yvesbouda1489 4 месяца назад

    can we use cotton component in app template ?

  • @christ-renaud2700
    @christ-renaud2700 4 месяца назад

    thanks

  • @AndiichiDev
    @AndiichiDev 3 месяца назад

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

    • @bugbytes3923
      @bugbytes3923  3 месяца назад

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

  • @alexsyzoniuk8335
    @alexsyzoniuk8335 4 месяца назад +1

    django cotton htmx - and we don't need react

  • @ItsEverythingElse
    @ItsEverythingElse 4 месяца назад

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

  • @maheshpol20
    @maheshpol20 4 месяца назад

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

    • @bugbytes3923
      @bugbytes3923  4 месяца назад

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

    • @maheshpol20
      @maheshpol20 4 месяца назад

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

  • @freshnews7198
    @freshnews7198 4 месяца назад

    Will Django defeat React or others

    • @alsaamit
      @alsaamit 4 месяца назад

      React is not a backend framework.

  • @stonedoubt
    @stonedoubt Месяц назад

    Looks like blade components for livewire (Laravel)