diff --git a/rest_framework/tests/views.py b/rest_framework/tests/views.py index 994cf6dc3..eb0a78f65 100644 --- a/rest_framework/tests/views.py +++ b/rest_framework/tests/views.py @@ -12,6 +12,10 @@ factory = RequestFactory() class BasicView(APIView): + ## Uncomment this to see how attribute validation works + # valid_attributes = ('foo', ) + # foo = 'foo' + # bar = 'bar' def get(self, request, *args, **kwargs): return Response({'method': 'GET'})