mirror of
https://github.com/django-q2/django-q2.git
synced 2026-09-23 07:18:12 +08:00
* task now takes an optional keyword `group` * added result_group() and fetch_group() * added group column to Success admin * group column in searchable * added `name` field to Schedules * Scheduled tasks take schedule name as group
14 lines
334 B
Python
14 lines
334 B
Python
import os
|
|
import sys
|
|
|
|
myPath = os.path.dirname(os.path.abspath(__file__))
|
|
sys.path.insert(0, myPath)
|
|
|
|
from .tasks import async, schedule, result, result_group, fetch, fetch_group
|
|
from .models import Task, Schedule, Success, Failure
|
|
from .cluster import Cluster
|
|
|
|
VERSION = (0, 3, 6)
|
|
|
|
default_app_config = 'django_q.apps.DjangoQConfig'
|