freshcrate
Home > Databases > django-celery-results

django-celery-results

Celery result backends for Django.

Description

===================================================================== Celery Result Backends using the Django ORM/Cache framework. ===================================================================== |build-status| |coverage| |license| |wheel| |pyversion| |pyimp| :Version: 2.6.0 :Web: https://django-celery-results.readthedocs.io/ :Download: https://pypi.python.org/pypi/django-celery-results :Source: https://github.com/celery/django-celery-results :Keywords: django, celery, database, results About ===== This extension enables you to store Celery task results using the Django ORM. It defines a single model (``django_celery_results.models.TaskResult``) used to store task results, and you can query this database table like any other Django model. Installing ========== The installation instructions for this extension is available from the `Celery documentation`_ .. _`Celery documentation`: https://docs.celeryq.dev/en/latest/django/first-steps-with-django.html#django-celery-results-using-the-django-orm-cache-as-a-result-backend .. _installation: Installation ============ You can install django-celery-results either via the Python Package Index (PyPI) or from source. To install using `pip`,:: $ pip install -U django-celery-results .. _installing-from-source: Downloading and installing from source -------------------------------------- Download the latest version of django-celery-results from https://pypi.python.org/pypi/django-celery-results You can install it by doing the following,:: $ tar xvfz django-celery-results-0.0.0.tar.gz $ cd django-celery-results-0.0.0 $ python setup.py build # python setup.py install The last command must be executed as a privileged user if you are not currently using a virtualenv. .. _installing-from-git: Using the development version ----------------------------- With pip ~~~~~~~~ You can install the latest snapshot of django-celery-results using the following pip command:: $ pip install https://github.com/celery/django-celery-results/zipball/master#egg=django-celery-results Issues with mysql ----------------- If you want to run ``django-celery-results`` with MySQL, you might run into some issues. One such issue is when you try to run ``python manage.py migrate django_celery_results``, you might get the following error:: django.db.utils.OperationalError: (1071, 'Specified key was too long; max key length is 767 bytes') To get around this issue, you can set:: DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH=191 (or any other value if any other db other than MySQL is causing similar issues.) max_length of **191** seems to work for MySQL. .. |build-status| image:: https://secure.travis-ci.org/celery/django-celery-results.svg?branch=master :alt: Build status :target: https://travis-ci.org/celery/django-celery-results .. |coverage| image:: https://codecov.io/github/celery/django-celery-results/coverage.svg?branch=master :target: https://codecov.io/github/celery/django-celery-results?branch=master .. |license| image:: https://img.shields.io/pypi/l/django-celery-results.svg :alt: BSD License :target: https://opensource.org/licenses/BSD-3-Clause .. |wheel| image:: https://img.shields.io/pypi/wheel/django-celery-results.svg :alt: django-celery-results can be installed via wheel :target: https://pypi.python.org/pypi/django-celery-results/ .. |pyversion| image:: https://img.shields.io/pypi/pyversions/django-celery-results.svg :alt: Supported Python versions. :target: https://pypi.python.org/pypi/django-celery-results/ .. |pyimp| image:: https://img.shields.io/pypi/implementation/django-celery-results.svg :alt: Support Python implementations. :target: https://pypi.python.org/pypi/django-celery-results/ django-celery-results for enterprise ------------------------------------ Available as part of the Tidelift Subscription. The maintainer of django-celery-results and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source packages you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainer of the exact packages you use. `Learn more. <https://tidelift.com/subscription/pkg/pypi-django-celery-results?utm_source=pypi-django-celery-results&utm_medium=referral&utm_campaign=readme>`_

Release History

VersionChangesUrgencyDate
2.6.0Imported from PyPI (2.6.0)Low4/21/2026
v2.6.0## What's Changed * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/390 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/396 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/398 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/399 * UpdLow4/10/2025
v2.5.1## What's Changed * Document `track_started` setting by @hsenot in https://github.com/celery/django-celery-results/pull/373 * Convert insecure links to use HTTPS by @intgr in https://github.com/celery/django-celery-results/pull/378 * Add additional project URLs to PyPI metadata (docs, changelog, repo) by @intgr in https://github.com/celery/django-celery-results/pull/377 * Update test-django.txt by @auvipy in https://github.com/celery/django-celery-results/pull/385 * Update test-django42.txtLow5/8/2023
v2.5.0## What's Changed * try possible fix to avoid a oracle regression by @auvipy in https://github.com/celery/django-celery-results/pull/325 * Create getting_started.rst by @valberg in https://github.com/celery/django-celery-results/pull/328 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/329 * fix documentation build failure, fix sphinx errors and amend sphinx warnings by @hoefling in https://github.com/celery/django-celery-resuLow3/13/2023
v2.4.0## What's Changed * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/312 * drop django 2.2 by @auvipy in https://github.com/celery/django-celery-results/pull/317 * save extended properties only when asked for by @AmitPhulera in https://github.com/celery/django-celery-results/pull/316 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/320 * Fix atomic transaction not Low6/29/2022
v2.3.1## What's Changed * Remove hard dependency on psycopg2 by @intgr in https://github.com/celery/django-celery-results/pull/292 * Fix #296 Stop producing a universal wheel, python 2 is unspported by @gopackgo90 in https://github.com/celery/django-celery-results/pull/297 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/298 * Update group related Simplified Chinese translations. by @ifmos in https://github.com/celery/django-celery-rLow4/17/2022
v2.3.0## What's Changed * Fix default_app_config deprecation by @auvipy in https://github.com/celery/django-celery-results/pull/221 * enable pre-commit by @graingert in https://github.com/celery/django-celery-results/pull/223 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/225 * [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in https://github.com/celery/django-celery-results/pull/226 * [pre-commit.ci] pre-commit autoupdateLow3/1/2022
v2.2.02.2.0 ===== :release-date: 2021-07-02 11:00 a.m. UTC+6:00 :release-by: Asif Saif Uddin - add new urls with nouns first structure (#216) - Remove duplicate indexes - fix group status view return data, add tests for it (#215) - typo fix (#218) - Use the DJANGO_CELERY_RESULTS_TASK_ID_MAX_LENGTH for group_id/task_id - Minor code clean upLow7/2/2021
v2.1.0Release v2.1.0Low6/14/2021
v2.0.12.0.1 ===== :release-date: 2021-01-19 07:30 p.m. UTC+6:00 :release-by: Asif Saif Uddin - Fix backward compatibility in DatabaseBackend._store_result function - Fix 'args' and 'kwargs' propiertes of AsyncResult for DatabaseBackend - Fix task_args/task_kwargs in task_protocol=1 - Test refactors - Add task_args and task_kwargs to admins searchable fields (#182) Low1/19/2021
v2.0.0Release v2.0.0Low11/19/2020
1.2.1Release 1.2.1Low2/29/2020
v1.0.41.0.3 is a broken release. Please 1.0.4 instead.Low11/13/2018
v1.0.3Release v1.0.3Low11/13/2018

Dependencies & License Audit

Loading dependencies...

Similar Packages

django-celery-beatDatabase-backed Periodic Tasks.2.9.0
ibmcloudantPython client library for IBM Cloudant0.11.5
neo4jNeo4j Bolt driver for Python6.1.0
pineconePinecone client and SDK8.1.2
asyncpgAn asyncio PostgreSQL driver0.31.0