django-celery-transactions 0.1.3

Django transaction support for Celery tasks

  Add it to your Download Basket!

 Add it to your Watch List!

0/5

Rate it!
send us
an update
LICENSE TYPE:
BSD License 
USER RATING:
UNRATED
  0.0/5
DEVELOPED BY:
Chris Doble
HOMEPAGE:
github.com
CATEGORY:
ROOT \ Internet \ HTTP (WWW)
django-celery-transactions is a Django app that holds on to Celery tasks until the current database transaction is committed, avoiding potential race conditions as described in the Celery user guide. This lets you focus on your app's structure—send tasks from signal handlers without fear!

See https://github.com/chrisdoble/django-celery-transactions

Note: As request signals are used to implement this functionality, it will only work from within the request/response cycle.

Installation/Use

 Install django-celery-transactions from PyPI:

 pip install django-celery-transactions

 Use the patched decorator to create your tasks:

 from djcelery_transaction import task

 @task
 def example():
 print "Hooray, the transaction has been committed!"

Last updated on February 4th, 2012

feature list requirements

#Celery tasks #transaction support #Celery #tasks #transaction #library

Add your review!

SUBMIT