From 09ff3f45afcfaff4b2d1da173e8f98246c787e7d Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 24 Jun 2024 14:09:49 -0600 Subject: [PATCH 1/2] Remove old and unnecessary templatetag compat module --- tos/templatetags/__init__.py | 0 tos/templatetags/compat.py | 1 - 2 files changed, 1 deletion(-) delete mode 100644 tos/templatetags/__init__.py delete mode 100644 tos/templatetags/compat.py diff --git a/tos/templatetags/__init__.py b/tos/templatetags/__init__.py deleted file mode 100644 index e69de29..0000000 diff --git a/tos/templatetags/compat.py b/tos/templatetags/compat.py deleted file mode 100644 index 12c1df7..0000000 --- a/tos/templatetags/compat.py +++ /dev/null @@ -1 +0,0 @@ -from django.template.defaulttags import url From b7979d6230204f54332075c79b03bf351950061a Mon Sep 17 00:00:00 2001 From: blag Date: Mon, 24 Jun 2024 14:12:22 -0600 Subject: [PATCH 2/2] Remove Django 1.6 compat in tests --- tos/tests/__init__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tos/tests/__init__.py b/tos/tests/__init__.py index 80ca9a7..e69de29 100644 --- a/tos/tests/__init__.py +++ b/tos/tests/__init__.py @@ -1,5 +0,0 @@ -import django - -if django.VERSION < (1, 6): - from tos.tests.test_models import * - from tos.tests.test_views import *