diff options
| author | Jake Howard <git@theorangeone.net> | 2025-07-17 12:51:09 +0100 |
|---|---|---|
| committer | nessita <124304+nessita@users.noreply.github.com> | 2025-09-16 17:28:32 -0300 |
| commit | 4289966d1b8e848e5e460b7c782dac009d746b20 (patch) | |
| tree | ef1d61a33562579d985c762036db5f7aa01406fc /django/conf | |
| parent | 218f69f05eb51da1ea17d62a914a67ceff5bfd55 (diff) | |
Fixed #35859 -- Added background Tasks framework interface.
This work implements what was defined in DEP 14
(https://github.com/django/deps/blob/main/accepted/0014-background-workers.rst).
Thanks to Raphael Gaschignard, Eric Holscher, Ran Benita, Sarah Boyce,
Jacob Walls, and Natalia Bidart for the reviews.
Diffstat (limited to 'django/conf')
| -rw-r--r-- | django/conf/global_settings.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/django/conf/global_settings.py b/django/conf/global_settings.py index 77f2b83e68..72f84dd6af 100644 --- a/django/conf/global_settings.py +++ b/django/conf/global_settings.py @@ -672,3 +672,8 @@ SECURE_CSP_REPORT_ONLY = {} # HTTPS as the default protocol in urlize and urlizetrunc when no protocol is # provided. Set to True to assume HTTPS during the Django 6.x release cycle. URLIZE_ASSUME_HTTPS = False + +######### +# TASKS # +######### +TASKS = {"default": {"BACKEND": "django.tasks.backends.immediate.ImmediateBackend"}} |
