def get_queue():
return _thread_data.__dict__.setdefault("<STR_LIT>", [])<EOL>
Returns a temporary queue to store jobs before they're committed
later in the request/responsce cycle. Each job is stored as a tuple
containing the queue, args and kwargs.

For example, if we call ``queue.enqueue_call(foo, kwargs={'bar': 'baz'})`` during the
request/response cycle, job_queue will look like:

job_queue = [(default_queue, foo, {'kwargs': {'bar': 'baz'}})]

This implementation is heavily inspired by
https://github.com/chrisdoble/django-celery-transactions