This commit is contained in:
Ilan Steemers
2015-09-29 18:31:56 +02:00
parent 00236990af
commit 76aab3d52a
3 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -5,16 +5,17 @@ from django import get_version
myPath = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, myPath)
VERSION = (0, 7, 5)
VERSION = (0, 7, 6)
default_app_config = 'django_q.apps.DjangoQConfig'
# root imports will slowly be deprecated.
# please import from the relevant sub modules
if get_version().split('.')[1][0] != '9':
if get_version().split('.')[1][0] == '9':
from .tasks import async, 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
from .brokers import get_broker
__all__ = ['conf', 'cluster', 'models', 'tasks']