We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4be9fb0 commit dbe966aCopy full SHA for dbe966a
django_lightweight_queue/__init__.py
@@ -1,7 +1,10 @@
1
+import django
2
+
3
from .task import task, TaskWrapper
4
from .utils import contribute_implied_queue_name
5
-default_app_config = 'django_lightweight_queue.apps.DjangoLightweightQueueConfig'
6
+if django.VERSION < (3, 2):
7
+ default_app_config = 'django_lightweight_queue.apps.DjangoLightweightQueueConfig'
8
9
__all__ = (
10
'task',
0 commit comments