def requeue(self, job_id):
        with transaction.commit_on_success(self.connection):
            job = Job.objects.using(self.connection).select_for_update().get(id=job_id)
            # Delete it from the failed queue (raise an error if that failed)
            job.queue = None
            job.status = Job.QUEUED
            job.exc_info = None
            job.scheduled_for = now()
            job.save()
            q = Queue.create(job.origin, connection=self.connection)
            q.enqueue_job(job, timeout=job.timeout)
Converts TMS tile coordinates to Microsoft QuadTree
dataset/ETHPy150Open bretth/django-pq/pq/queue.py/FailedQueue.requeue--crossover with--dataset/ETHPy150Open Ecotrust/create-utfgrids/globalmaptiles.py/GlobalMercator.QuadTree