mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-16 11:12:21 +03:00
Fix flake8 issue
This commit is contained in:
parent
65967ee641
commit
f2af128a66
|
@ -726,7 +726,7 @@ class OrderingFilterTests(TestCase):
|
||||||
# create some related models to aggregate order by
|
# create some related models to aggregate order by
|
||||||
num_objs = [2, 5, 3]
|
num_objs = [2, 5, 3]
|
||||||
for obj, num_related in zip(OrderingFilterModel.objects.all(),
|
for obj, num_related in zip(OrderingFilterModel.objects.all(),
|
||||||
num_objs):
|
num_objs):
|
||||||
for _ in range(num_related):
|
for _ in range(num_related):
|
||||||
new_related = OrderingFilterRelatedModel(
|
new_related = OrderingFilterRelatedModel(
|
||||||
related_object=obj
|
related_object=obj
|
||||||
|
|
Loading…
Reference in New Issue
Block a user