Call tornado's add_callback with paramets correctly.
Bump versin to 1.0.1
Revert last change.
A bad attempt att making the ttask decorator play nice with django's method_decorator.
If a tornado loop is not running, the ttask decorator will run the decorated function with run_sync(). This will alow for running async code synchrounously when the django dev server is used, or any non-tornado web server. Essentially, if tornado ioloop is not running, then ttask will run what it decorates as a one shot of the tornado IOLoop.
Add the ctask decoratory. ctask wraps the func in tornado.gen.coroutine before applying the ttask decoratory.
mergy
Merge branch 'master' of jeffbuttars.com:users/jeff/django-tornado