Update tested versions, add python 3.13 support and django 5.2 support. Drop python 3.8 support (#271)

* Update tested versions

* Remove f string

* Fix second `format_html`

---------

Co-authored-by: Stan Triepels <1939656+GDay@users.noreply.github.com>
This commit is contained in:
Adam Johnson
2025-04-16 01:48:51 +02:00
committed by GitHub
co-authored by Stan Triepels
parent a154fd658a
commit 0090a6f411
5 changed files with 28 additions and 15 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ class ScheduleAdmin(admin.ModelAdmin):
url = reverse("admin:django_q_success_change", args=(obj.task_id,))
else:
url = reverse("admin:django_q_failure_change", args=(obj.task_id,))
return format_html(f'<a href="{url}">[{obj.task_name}]</a>')
return format_html('<a href="{}">[{}]</a>', url, obj.task_name)
return None
get_last_run.allow_tags = True