aboutsummaryrefslogtreecommitdiffstats
path: root/servo/management
diff options
context:
space:
mode:
authorFilipp Lepalaan <filipp@mac.com>2021-06-14 21:49:26 +0300
committerFilipp Lepalaan <filipp@mac.com>2021-06-14 21:49:26 +0300
commit612e893bc87c4a81e2a98de75c2242c319edcaf9 (patch)
treec576ffc15c5b57bf68ce0c7430f5db96f2d35faa /servo/management
parentd988adbdaf57bb5e82823a416f92fa6995d59589 (diff)
downloadServo-612e893bc87c4a81e2a98de75c2242c319edcaf9.tar.gz
Servo-612e893bc87c4a81e2a98de75c2242c319edcaf9.tar.bz2
Servo-612e893bc87c4a81e2a98de75c2242c319edcaf9.zip
Testing for django.core.exceptions.ImproperlyConfigured
Diffstat (limited to 'servo/management')
-rw-r--r--servo/management/commands/scheduler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/servo/management/commands/scheduler.py b/servo/management/commands/scheduler.py
index c9e3839..d53e050 100644
--- a/servo/management/commands/scheduler.py
+++ b/servo/management/commands/scheduler.py
@@ -3,10 +3,10 @@ from datetime import datetime
import django
import django_rq
-from django.core.management.base import BaseCommand
+
from django_rq.management.commands import rqscheduler
-django.setup() # To avoid django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
+#django.setup() # To avoid django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.
from servo.tasks import check_mail