mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-07 06:38:12 +08:00
Renames async/enqueue to async_task.
This commit is contained in:
@@ -12,7 +12,7 @@ default_app_config = 'django_q.apps.DjangoQConfig'
|
||||
# root imports will slowly be deprecated.
|
||||
# please import from the relevant sub modules
|
||||
if django.VERSION[:2] < (1, 9):
|
||||
from .tasks import enqueue, schedule, result, result_group, fetch, fetch_group, count_group, delete_group, queue_size
|
||||
from .tasks import async_task, schedule, result, result_group, fetch, fetch_group, count_group, delete_group, queue_size
|
||||
from .models import Task, Schedule, Success, Failure
|
||||
from .cluster import Cluster
|
||||
from .status import Stat
|
||||
|
||||
Reference in New Issue
Block a user