Fixed a typo on the ExampleValidatedAPIView

Cherry-picked from #6819
This commit is contained in:
Daniel Alvarez 2019-07-20 21:54:36 +02:00 committed by Carlton Gibson
parent 1b66d1b819
commit 659375ffe6
2 changed files with 2 additions and 2 deletions

View File

@ -225,7 +225,7 @@ class TestOperationIntrospection(TestCase):
path = '/'
method = 'GET'
view = create_view(
views.ExampleValdidatedAPIView,
views.ExampleValidatedAPIView,
method,
create_request(path),
)

View File

@ -96,7 +96,7 @@ class ExampleValidatedSerializer(serializers.Serializer):
ip = serializers.IPAddressField()
class ExampleValdidatedAPIView(generics.GenericAPIView):
class ExampleValidatedAPIView(generics.GenericAPIView):
serializer_class = ExampleValidatedSerializer
def get(self, *args, **kwargs):