mypy fixes

This commit is contained in:
Nick Sweeting 2024-01-25 02:22:23 -08:00
parent d96d986885
commit beb83f292d
7 changed files with 111 additions and 27 deletions

View file

@ -106,6 +106,7 @@ class SnapshotAdmin(SearchResultsAdminMixin, admin.ModelAdmin):
action_form = SnapshotActionForm
def changelist_view(self, request, extra_context=None):
extra_context = extra_context or {}
return super().changelist_view(request, extra_context | GLOBAL_CONTEXT)