[templates] Clean up chart displays
Some checks failed
build & deploy / test (push) Successful in 1m49s
build & deploy / deploy (push) Failing after 2m4s

This commit is contained in:
2026-04-02 10:54:16 -04:00
parent ce7128c7ac
commit 1bf558938d
14 changed files with 27 additions and 16 deletions

View File

@ -153,7 +153,7 @@ class ChartContextMixin:
if media_type:
context["charts"] = ChartRecord.objects.filter(
**{media_type: obj}, rank__in=[1, 2, 3]
)
).exclude(day__isnull=False)
return context