diff --git a/rest_framework/views.py b/rest_framework/views.py index 6348ca885..c9d55c18e 100644 --- a/rest_framework/views.py +++ b/rest_framework/views.py @@ -79,6 +79,11 @@ class APIView(View): try: self.check_permissions(cloned_request) + # TODO: discuss whether and how to expose parameters like e.g. filter or paginate + if method in ('GET', 'DELETE'): + actions[method] = {} + continue + # TODO: find right placement - APIView does not have get_serializer if not hasattr(self, 'get_serializer'): continue