From d36e3a12566c937a3e8971c709f7f982fc808b28 Mon Sep 17 00:00:00 2001 From: Aaron Kable Date: Thu, 8 Jan 2026 18:37:43 +0800 Subject: [PATCH] py 3.8 ... --- allianceauth/framework/datatables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/allianceauth/framework/datatables.py b/allianceauth/framework/datatables.py index b3494e65..56c1fa3d 100644 --- a/allianceauth/framework/datatables.py +++ b/allianceauth/framework/datatables.py @@ -1,5 +1,6 @@ from collections import defaultdict import re +from typing import List from django.db.models import Model, Q from django.http import HttpRequest, JsonResponse @@ -15,7 +16,7 @@ logger = get_extension_logger(__name__) class DataTablesView(View): model: Model = None - columns: list[tuple] = [] + columns: List[tuple] = [] COL_SEARCH_REGEX = r"columns\[(?P[0-9]{1,})\]\[search\]\[value\]" COL_SEARCHABLE_REGEX = r"columns\[(?P[0-9]{1,})\]\[searchable\]"