Skip to main content

Celery result backends for Django.

Project description

Build status coverage BSD License django-celery-results can be installed via wheel Supported Python versions. Support Python implementations.

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

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

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.

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.

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_celery_results-2.6.0.tar.gz (84.0 kB view details)

Uploaded Source

Built Distribution

django_celery_results-2.6.0-py3-none-any.whl (38.4 kB view details)

Uploaded Python 3

File details

Details for the file django_celery_results-2.6.0.tar.gz.

File metadata

  • Download URL: django_celery_results-2.6.0.tar.gz
  • Upload date:
  • Size: 84.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for django_celery_results-2.6.0.tar.gz
Algorithm Hash digest
SHA256 9abcd836ae6b61063779244d8887a88fe80bbfaba143df36d3cb07034671277c
MD5 1a9419a3684f1cdcbce271d220ebf084
BLAKE2b-256 a6b59966c28e31014c228305e09d48b19b35522a8f941fe5af5f81f40dc8fa80

See more details on using hashes here.

File details

Details for the file django_celery_results-2.6.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_celery_results-2.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9ccdca2695b98c7cbbb8dea742311ba9a92773d71d7b4944a676e69a7df1c73
MD5 be012877ceb97136572a71f8a3dafb36
BLAKE2b-256 2cda70f0f3c5364735344c4bc89e53413bcaae95b4fc1de4e98a7a3b9fb70c88

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page