mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-07-27 00:19:53 +03:00
Update tests/test_serializer_lists.py
This commit is contained in:
parent
2137b1e849
commit
c3f343bc7c
|
@ -696,7 +696,7 @@ class TestToRepresentationManagerCheck:
|
|||
https://github.com/encode/django-rest-framework/issues/8726
|
||||
"""
|
||||
|
||||
def setup(self):
|
||||
def setup_method(self):
|
||||
class CustomManagerModelSerializer(serializers.ModelSerializer):
|
||||
class Meta:
|
||||
model = CustomManagerModel
|
||||
|
|
Loading…
Reference in New Issue
Block a user