mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-02 18:58:12 +08:00
Import python3 version of range
This commit is contained in:
@@ -11,6 +11,7 @@ myPath = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, myPath + '/../')
|
||||
|
||||
from django_q.cluster import Cluster, Sentinel, pusher, worker, monitor, save_task
|
||||
from django_q.compat import range
|
||||
from django_q.humanhash import DEFAULT_WORDLIST, uuid
|
||||
from django_q.tasks import fetch, fetch_group, async, result, result_group, count_group, delete_group, queue_size
|
||||
from django_q.models import Task, Success
|
||||
|
||||
Reference in New Issue
Block a user