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.
2 parents d9fcfd1 + dbe966a commit b140b2dCopy full SHA for b140b2d
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