6 ms·
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
by viiralvx 9mo 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!
- sgt 9mo agoIf I understood correctly, to use Tasks in production right now you need to use this as well: https://github.com/RealOrangeOne/django-tasks https://github.com/RealOrangeOne/django-tasks Is that correct?
- selcuka 9mo agoCorrect. 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.
- sgt 9mo agoGood 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?
- adamchainz 9mo agodjango-tasks is the reference implementation for django.tasks, by the same author. It's up for discussion if and when the DatabaseBackend gets merged, and it seems likely to me that a Redis-based backend would be suggested at some point. It takes time and energy though!
- bigthymer 9mo agoRails renders partials https://guides.rubyonrails.org/layouts_and_rendering.html#partial-layouts https://guides.rubyonrails.org/layouts_and_rendering.html#pa...