Git Product home page Git Product logo

django-celery-results's Introduction

Celery Result Backends using the Django ORM/Cache framework.

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

Version

2.2.0

Web

http://django-celery-results.readthedocs.io/

Download

http://pypi.python.org/pypi/django-celery-results

Source

http://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 http://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 as part of the Tidelift Subscription -----------------

The maintainers of django-celery-results and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies 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&utm_term=repo)

django-celery-results's People

Contributors

auvipy avatar ask avatar thedrow avatar arnau126 avatar pre-commit-ci[bot] avatar allexveldman avatar ifmos avatar alectroemel avatar jaylynch avatar d3x avatar wardal avatar liquidpele avatar maxmalysh avatar etnguyen03 avatar adamchainz avatar palisand avatar pmaigutyak avatar asfaltboy avatar planswalker avatar graingert avatar yongruilin avatar zvibaratz avatar badeendjuh avatar benselme avatar gopackgo90 avatar lvelvee avatar mondeja avatar munavvar20 avatar rhenter avatar sp-ricard-valverde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.