FOLLOW
Funky Bob
npub13a8...fyht
FOLLOW
MESSAGE
241 days ago•••
🙋 Do I know anyone who uses django-streamfield?
🤔 I have a few blogs that I have been mentally stuck on adding images/screenshots to, and it seems like it might be a good fit.
I also have a client project, and it's installed, but neither of us has dived into building out block types for it.
241 days ago•••
I've been (ab)using Blocks and StreamFields a lot over the last 6 months in my current job.
They've a very interesting tool.
241 days ago•••
Nice. Any tips or gotcha to avoid?
I think we already hit the obvious, you can't turn a TextField into a JsonField without a few intermediate steps. That one was not fun.
I assume I could have a TextBlock and an ImageBlock of some type and be fine.
261 days ago•••
I've been bitten by yet another bug in #Celery. What are my options in a #Django world if I would potentially move away? Requirements:
- multiple queues or task priorities
- scheduling multiple, independent tasks at once
- task chains that allow me to define another (group of) tasks to be scheduled on success and on failure of a task
- maintained codebase
- #Django 4.2 support
- #Redis and/or #PostgreSQL as brokers and result backends
- in-process execution of tasks in unit tests
261 days ago•••
Pretty sure Dramtiq covers those points, except maybe task chains [it's been a few years]. I know one django shop that's using their PG broker.
261 days ago•••
Here to +1 Dramtiq being the only other task queue that checks all or most of your boxes.
Django-Q2 is my goto because its so nice to work with. I don't know that it checks all of the boxes but it might be worth a mention to scan the docs first.
LOAD OLDER THREADS