From 612e893bc87c4a81e2a98de75c2242c319edcaf9 Mon Sep 17 00:00:00 2001 From: Filipp Lepalaan Date: Mon, 14 Jun 2021 21:49:26 +0300 Subject: Testing for django.core.exceptions.ImproperlyConfigured --- servo/management/commands/scheduler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servo/management') 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 -- cgit v1.2.3