Skip to content

Commit a209091

Browse files
committed
deps: update django-filter to support django 5.2 version, passing test
1 parent e786cac commit a209091

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

base-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ django-allauth==64.2.1
4141
django-waffle==2.2.1
4242

4343
djangorestframework==3.14.0 # 3.14.0 is first version that supports Django 4.1, 4.2 support hasnt been "released"
44-
django-filter==2.4.0
44+
django-filter==25.1
4545
django-ordered-model==3.7.4
4646
django-widget-tweaks==1.5.0
4747
django-countries==7.6.1

sponsors/tests/test_admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ def test_filter_queryset(self):
5757
def test_choices_with_custom_text_for_all(self):
5858
lookups = self.filter.lookups(self.request, self.model_admin)
5959
changelist = Mock(ChangeList, autospec=True)
60+
changelist.add_facets = False
6061
choices = self.filter.choices(changelist)
6162

6263
self.assertEqual(len(choices), len(lookups) + 1)

0 commit comments

Comments
 (0)