Skip to content

Commit

Permalink
Merge pull request #228 from bulv1ne/patch-1
Browse files Browse the repository at this point in the history
Add django 1.11 support
  • Loading branch information
Koed00 authored Apr 5, 2017
2 parents 7c48ef6 + 81b3e9c commit c2376dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_q/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# root imports will slowly be deprecated.
# please import from the relevant sub modules
split_version = get_version().split('.')
if split_version[1][0] != '9' and split_version[1][:2] != '10':
if split_version[1] not in ('9', '10', '11'):
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
Expand Down

0 comments on commit c2376dd

Please sign in to comment.