summaryrefslogtreecommitdiffstats
path: root/core/htmx.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/htmx.py')
-rw-r--r--core/htmx.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/core/htmx.py b/core/htmx.py
index c83fba9..a6cf6dd 100644
--- a/core/htmx.py
+++ b/core/htmx.py
@@ -1,8 +1,5 @@
-from typing import Optional
-
-
class HTMXMixin:
- template_name_htmx: Optional[str] = None
+ template_name_htmx: str | None = None
def get_template_name(self):
if self.request.htmx and self.template_name_htmx: