diff --git a/kelvin/settings.py b/kelvin/settings.py index 07110251..1a2107f1 100644 --- a/kelvin/settings.py +++ b/kelvin/settings.py @@ -172,7 +172,7 @@ "LOCATION": redis_connection, "OPTIONS": { "CLIENT_CLASS": "django_redis.client.DefaultClient", - } + }, } } @@ -191,12 +191,7 @@ } # For django-tasks-scheduler -SCHEDULER_QUEUES = { - "default": { - "HOST": redis_host, - "PORT": redis_port - } -} +SCHEDULER_QUEUES = {"default": {"HOST": redis_host, "PORT": redis_port}} LOGGING = { "version": 1, diff --git a/kelvin/urls.py b/kelvin/urls.py index da39758f..3d9edeae 100644 --- a/kelvin/urls.py +++ b/kelvin/urls.py @@ -35,7 +35,7 @@ path("survey/", include("survey.urls")), path("webpush/", include("webpush.urls")), # For django-tasks-scheduler - path('scheduler/', include('scheduler.urls')), + path("scheduler/", include("scheduler.urls")), ] if settings.DEBUG: