mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-01 01:18:13 +08:00
* added a synchronous cluster simulation * added a test for the sync function * moved signing into its own module * refactored imports to solve circular import problems stemming from the task module pretending to be a cluster * added documentation for the new sync option
13 lines
260 B
Python
13 lines
260 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, fetch
|
|
from .models import Task, Schedule
|
|
|
|
VERSION = (0, 3, 1)
|
|
|
|
default_app_config = 'django_q.apps.DjangoQConfig'
|