Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Sep 5, 2024
1 parent f8a2803 commit 9eaff43
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
9 changes: 2 additions & 7 deletions kelvin/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
"LOCATION": redis_connection,
"OPTIONS": {
"CLIENT_CLASS": "django_redis.client.DefaultClient",
}
},
}
}

Expand All @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion kelvin/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9eaff43

Please sign in to comment.