3.7.4 is breaking my generics.ListAPIView views compared to 3.7.3: I'm getting the AssertionError (here <https://github.com/encode/django-rest-framework/blob/master/rest_framework/request.py#L156>) on my ListAPIView classes. They generally look like this:
class FooList(generics.ListAPIView): permission_classes = (permissions.isAuthenticated,) model = Foo serializer_class = FooSerializer pagination_class = None def get_queryset(self): return Foo.objects.filter(business_logic_here) Not sure why this would happen from looking at the commits <https://github.com/encode/django-rest-framework/milestone/62?closed=1>. Any ideas what's changed? Is this a bug? Full trace just in case: File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py", line 35, in inner response = get_response(request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" , line 128, in _get_response response = self.process_exception_by_middleware(e, request) File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" , line 126, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" , line 69, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 62, in _wrapper return bound_func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view return view_func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/views/generic/base.py" , line 69, in view return self.dispatch(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 494, in dispatch response = self.handle_exception(exc) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 454, in handle_exception self.raise_uncaught_exception(exc) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 491, in dispatch response = handler(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/decorators.py" , line 53, in handler return func(*args, **kwargs) File "/usr/local/lib/python3.6/site-packages/django/utils/decorators.py", line 58, in bound_func return func.__get__(self, type(self))(*args2, **kwargs2) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 477, in dispatch request = self.initialize_request(request, *args, **kwargs) File "/usr/local/lib/python3.6/site-packages/rest_framework/views.py", line 381, in initialize_request parser_context=parser_context File "/usr/local/lib/python3.6/site-packages/rest_framework/request.py", line 159, in __init__ .format(request.__class__.__module__, request.__class__.__name__) AssertionError: The `request` argument must be an instance of `django.http.HttpRequest`, not `rest_framework.request.Request`. -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-rest-framework+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.