Celery result backends for Django.
Project description
- Version:
2.5.1
- Web:
- Download:
- Source:
- 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-hypernode.com/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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django_celery_results-2.5.1.tar.gz
.
File metadata
- Download URL: django_celery_results-2.5.1.tar.gz
- Upload date:
- Size: 80.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ecb7147f773f34d0381bac6246337ce4cf88a2ea7b82774ed48e518b67bb8fd |
|
MD5 | 14ed808d0590538959b34f735b54cfe5 |
|
BLAKE2b-256 | 7524a13ad6a276f62385da6d83a1995ded452d173841b6e0a83a899c3b75062e |
File details
Details for the file django_celery_results-2.5.1-py3-none-any.whl
.
File metadata
- Download URL: django_celery_results-2.5.1-py3-none-any.whl
- Upload date:
- Size: 36.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.6 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0da4cd5ecc049333e4524a23fcfc3460dfae91aa0a60f1fae4b6b2889c254e01 |
|
MD5 | aa7d9d2ffa31c9580525a7a0c107496a |
|
BLAKE2b-256 | 052eaa82857354d5227922c2ae6e83e5214537d8f108184bfeea6704d0b045d8 |