          request = factory.put('/', data, format='json')
          with self.assertNumQueries(0):
              response = self.view(request).render()
          self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
          self.assertEqual(response.data, {"detail": "Method 'PUT' not allowed."})
  
      def test_delete_root_view(self):
          """
          DELETE requests to ListCreateAPIView should not be allowed
          """
 
</s> remove         self.assertEqual(response.data, {"detail": "Method 'POST' not allowed."})
 </s> add         self.assertEqual(response.data, {"detail": 'Method "POST" not allowed.'}) </s> remove         self.assertEqual(response.data, {"detail": "Method 'DELETE' not allowed."})
 </s> add         self.assertEqual(response.data, {"detail": 'Method "DELETE" not allowed.'}) </s> remove     default_detail = _("Could not satisfy the request Accept header.")
 </s> add     default_detail = _('Could not satisfy the request Accept header.') </s> remove         'does_not_exist': _("Object with {slug_name}={value} does not exist."),
        'invalid': _("Invalid value."),
 </s> add         'does_not_exist': _('Object with {slug_name}={value} does not exist.'),
        'invalid': _('Invalid value.'), </s> remove     message = _("This field must be unique.")
 </s> add     message = _('This field must be unique.')
        self.assertEqual(response.data, {"detail": 'Method "PUT" not allowed.'})
          request = factory.put('/', data, format='json')
          with self.assertNumQueries(0):
              response = self.view(request).render()
          self.assertEqual(response.status_code, status.HTTP_405_METHOD_NOT_ALLOWED)
        self.assertEqual(response.data, {"detail": 'Method "PUT" not allowed.'})
  
      def test_delete_root_view(self):
          """
          DELETE requests to ListCreateAPIView should not be allowed
          """
keep keep keep keep replace keep keep keep keep keep
 prefer single quotes in source and double quotes in user visible strings; add some missing full stops to user visible strings 
tests/test_generics.py