Adds info about celery endpoint in admin view

This commit is contained in:
Mouse Reeve 2023-01-30 08:35:24 -08:00
parent c1090703e2
commit 8f88b72620
2 changed files with 9 additions and 1 deletions

View file

@ -9,6 +9,14 @@
{% block panel %}
<div class="notification">
<p>
{% trans "You can set up monitoring to check if Celery is running by querying:" %}
{% url "settings-celery-ping" as url %}
<a href="{{ url }}" target="_blank" rel="nofollow noopener noreferrer">{{ url }}</a>
</p>
</div>
{% if queues %}
<section class="block content">
<h2>{% trans "Queues" %}</h2>

View file

@ -330,7 +330,7 @@ urlpatterns = [
r"^settings/celery/?$", views.CeleryStatus.as_view(), name="settings-celery"
),
re_path(
r"^settings/celery/ping?$", views.celery_ping, name="settings-celery-ping"
r"^settings/celery/ping/?$", views.celery_ping, name="settings-celery-ping"
),
re_path(
r"^settings/email-config/?$",