RealOrangeOne / django-tasks

A reference implementation and backport of background workers and tasks in Django
https://pypi.org/project/django-tasks/
BSD 3-Clause "New" or "Revised" License
314 stars 22 forks source link

Using the DEFAULT_TASK_BACKEND_ALIAS constant #36

Closed dennisstritzke closed 3 months ago

dennisstritzke commented 3 months ago

Using the DEFAULT_TASK_BACKEND_ALIAS constant when referencing to the default task backend instead of repeating the string.

dennisstritzke commented 3 months ago

This PR obviously isn't crucial for the projects success and mostly I question of taste. Looking at the alternatives, I would prefer using the constant in the non-test code as implemented by this PR.

If you agree, let's merge it. If you don't agree, feel free to close this PR. 🙃