mirror of
https://github.com/django-q2/django-q2.git
synced 2026-10-08 08:18:12 +08:00
Fixes #7
* 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
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user