title: Request object has no attribute "accepted_renderer"
body: <p>What happens if this problem occurs? 
  Request object has no attribute "accepted_renderer" </p>
  
  <p>These messages were in my log.</p>
  
  <ol>
  <li>There was error encountered while processing this event.</li>
  <li>Discarded invalid value for parameter 'timestamp' Expand</li>
  </ol>
  
  <p>base viewset class:</p>
  
  <pre><code>class BaseViewSet(LoggingMixin, viewsets.ModelViewSet):
              def __init__(self, *args, **kwargs):
                  super(BaseViewSet, self).__init__(**kwargs)
  
              authentication_classes = (JSONWebTokenAuthentication, 
                              SessionAuthentication, BasicAuthentication)
              permission_classes = (IsAuthenticated,)
              renderer_classes = (JSONRenderer, BrowsableAPIRenderer, 
                           AdminRenderer,)
  
              def initial(self, request, *args, **kwargs):
                  user = request.user.baseuser
                  user.last_visit = datetime.datetime.now()
                  user.save()
                  super(LoggingMixin, self).initial(request, *args,**kwargs)
  </code></pre>
  
  <p>my api :</p>
  
  <pre><code>api_v1_router.register(prefix=r'notify', viewset=NotificationViewSet, base_name='notify')
  </code></pre>
  
  <p>my viewset :</p>
  
  <pre><code>class NotificationViewSet(BaseViewSet):
  queryset = Notification.objects.all()
  serializer_class = NotificationSerializer
  
  def list(self, request, *args, **kwargs):
      queryset = self.queryset.filter(send_to_id=request.user.id, seen=False).order_by('-created_date')
  
      page = self.paginate_queryset(queryset)
      if page is not None:
          serializer = self.get_serializer(page, many=True)
          return self.get_paginated_response(serializer.data)
  
      serializer = self.get_serializer(queryset, many=True)
      return Response(serializer.data)
  </code></pre>
  
  <p>my setting.py :</p>
  
  <pre><code>REST_FRAMEWORK = {
  # Use Django's standard `django.contrib.auth` permissions,
  # or allow read-only access for unauthenticated users.
  'DEFAULT_PERMISSION_CLASSES': [
      'rest_framework.permissions.DjangoModelPermissionsOrAnonReadOnly'
  ],
  'DEFAULT_AUTHENTICATION_CLASSES': (
      'rest_framework_jwt.authentication.JSONWebTokenAuthentication',
      'rest_framework.authentication.SessionAuthentication',
      'rest_framework.authentication.BasicAuthentication',
  ),
  'DEFAULT_FILTER_BACKENDS': (
      'django_filters.rest_framework.DjangoFilterBackend',
  ),
  'DEFAULT_RENDERER_CLASSES': (
      'rest_framework.renderers.JSONRenderer',
      'rest_framework.renderers.BrowsableAPIRenderer',
      'rest_framework.renderers.AdminRenderer',
  ),
  'DEFAULT_PAGINATION_CLASS':'apps.common.helpers.pagination.CustomPagination',
      'PAGE_SIZE': 12}
  </code></pre>
  
  <p>traceback:</p>
  
  <pre><code>    AttributeError: 'WSGIRequest' object has no attribute 'accepted_renderer'
    File "rest_framework/request.py", line 382, in __getattribute__
      return getattr(self._request, attr)
  AttributeError: 'Request' object has no attribute 'accepted_renderer'
    File "django/core/handlers/exception.py", line 41, in inner
      response = get_response(request)
    File "django/core/handlers/base.py", line 187, in _get_response
      response = self.process_exception_by_middleware(e, request)
      response = super(BaseLoggingMixin, self).handle_exception(exc)
    File "rest_framework/views.py", line 449, in handle_exception
      self.raise_uncaught_exception(exc)
    File "rest_framework/views.py", line 457, in raise_uncaught_exception
      renderer_format = getattr(request.accepted_renderer, 'format')
    File "rest_framework/request.py", line 384, in __getattribute__
      six.reraise(info[0], info[1], info[2].tb_next)
    File "django/utils/six.py", line 685, in reraise
      raise value.with_traceback(tb)
  </code></pre>