Update __init__.py (#572)

Fixes 
```
RemovedInDjango41Warning: 'django_q' defines default_app_config = 'django_q.apps.DjangoQConfig'. Django now detects this configuration automatically. You can remove default_app_config.
```
This commit is contained in:
Nurettin Onur TUĞCU
2021-06-09 12:27:15 +02:00
committed by GitHub
parent c47786b6e2
commit 410327bff4
+3 -1
View File
@@ -1,6 +1,8 @@
VERSION = (1, 3, 8)
default_app_config = "django_q.apps.DjangoQConfig"
import django
if django.VERSION < (3, 2):
default_app_config = "django_q.apps.DjangoQConfig"
__all__ = ["conf", "cluster", "models", "tasks"]