              del(request._post)
              if resp is None:  # csrf passed
                  return request.user
          return None
      
 
</s> remove         return [method.upper() for method in self.http_method_names if hasattr(self, method)]
 </s> add         return [method.upper() for method in self.http_method_names if getattr(self, method, None)] </s> remove     permissions = ( permissions.DeleteMePermission, )
 </s> add     permissions = () </s> remove     def get(self, request, auth, num):
 </s> add     def get(self, request, num): </s> remove     def delete(self, request, auth, unique_id):
 </s> add     def delete(self, request, unique_id):
#class DigestAuthentication(BaseAuthentication):
#    pass
#
#class OAuthAuthentication(BaseAuthentication):
#    pass
              del(request._post)
              if resp is None:  # csrf passed
                  return request.user
          return None
#class DigestAuthentication(BaseAuthentication):
#    pass
#
#class OAuthAuthentication(BaseAuthentication):
#    pass
keep keep keep keep replace
 Fix up tests and examples after refactoring 
djangorestframework/authenticators.py