Skip to content

Commit

Permalink
Bail out
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Sep 27, 2023
1 parent a5827a8 commit f7999b7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/myapp/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2519,6 +2519,10 @@ class CategoryAdmin(ModelAdmin):
ordering = ("id",)


@unittest.skipUnless(
django.VERSION < (5,),
"Django 5 has changed the way filters work and I don't want to spend the time writing the compatibility code right now.",
)
class ListFiltersTests(TestCase):
def setUp(self):
self.user = User.objects.create_superuser("admin", "test@example.com", "p")
Expand Down

0 comments on commit f7999b7

Please sign in to comment.