diff --git a/django_q/__init__.py b/django_q/__init__.py index d4608f4..2b43336 100644 --- a/django_q/__init__.py +++ b/django_q/__init__.py @@ -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'] diff --git a/docs/conf.py b/docs/conf.py index 5444f5e..4ee339b 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -72,7 +72,7 @@ author = 'Ilan Steemers' # The short X.Y version. version = '0.7' # The full version, including alpha/beta/rc tags. -release = '0.7.5' +release = '0.7.6' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/setup.py b/setup.py index 355b39e..7e41d53 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,7 @@ class PyTest(Command): setup( name='django-q', - version='0.7.5', + version='0.7.6', author='Ilan Steemers', author_email='koed0@gmail.com', keywords='django distributed task queue worker redis disque ironmq sqs orm multiprocessing',