Posts tagged with "django"

There are a total of 37 posts.

Django on_commit + Celery, Troubleshooting in a Replica Environment

Published Apr 21, 2025 by whitedec

This post shares a real case of solving issues that arose when combining transaction.on_commit(), Celery asynchronous processing, and a replica environment in …

#django , #celery , #transaction , #webhook , #replica

Analysis of on_commit + Celery + ManyToMany Delay Issues in Replica Environments

Published Apr 20, 2025 by whitedec

This post analyzes the delay issues that can occur in replica environments when using transaction.on_commit() and Celery in Django and suggests solutions.

#django , #celery , #transaction , #replica

The Evolution of Model Choice Definitions: An Overview of the TextChoices Class

Published Apr 15, 2025 by whitedec

This post compares the traditional method of defining choices in Django models with the `TextChoices` class, highlighting ways to enhance code maintainability …

#django , #orm , #textchoices