mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-24 00:50:35 +00:00
Adds info about celery endpoint in admin view
This commit is contained in:
parent
c1090703e2
commit
8f88b72620
2 changed files with 9 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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/?$",
|
||||
|
|
Loading…
Reference in a new issue