Skip to content

Commit 7e01713

Browse files
fix Django admin object-tools breaking job detail view (#702)
This change removes the object-tools from the job detail-view. fixes: #698 x-ref: https://code.djangoproject.com/ticket/36331 x-ref: django/django#19389
1 parent 3f18aaa commit 7e01713

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

django_rq/templates/django_rq/job_detail.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@
2929

3030
{% block content_title %}<h2>Job {{ job.id }}</h2>{% endblock %}
3131

32+
{# do not render object-tools (fix until https://github.com/django/django/pull/19389/files is released) #}
33+
{% block object-tools %}{% endblock %}
34+
3235
{% block content %}
3336

3437
<div id="content-main">

0 commit comments

Comments
 (0)