Comment by viiralvx

2 months ago

Template Partials and HTMX seems like the Django equivalent of View Components and Stimulus for Rails, which is nice.

Also, good to see first class support for Tasks, among a lot of other niceties!

If I understood correctly, to use Tasks in production right now you need to use this as well:

https://github.com/RealOrangeOne/django-tasks

Is that correct?

  • Correct. Django 6.0 comes with a standardised API, with 2 testing backends (ImmediateBackend and DummyBackend). You need a third-party backend to store and execute tasks.

    • Good to know. So no need for Django Q2 or Celery anymore either. I guess unless one has a specific reason.

      Has there been discussion about adopting/embedding django-tasks into Django 6.x?

      1 reply →