          if len(inspect.getargspec(exception_handler).args) == 1:
              warnings.warn(
                  'The `exception_handler(exc)` call signature is deprecated. '
                  'Use `exception_handler(exc, context) instead.',
                  PendingDeprecationWarning
              )
              response = exception_handler(exc)
          else:
              context = self.get_exception_handler_context()
              response = exception_handler(exc, context)
 
</s> remove                 "The `Meta.lookup_field` option is pending deprecation. "
 </s> add                 "The `Meta.lookup_field` option is deprecated. " </s> remove                 "The `Meta.view_name` option is pending deprecation. "
 </s> add                 "The `Meta.view_name` option is deprecated. " </s> remove                 PendingDeprecationWarning,
 </s> add                 DeprecationWarning, </s> remove                 PendingDeprecationWarning,
 </s> add                 DeprecationWarning, </s> remove                 PendingDeprecationWarning,
 </s> add                 DeprecationWarning,
                DeprecationWarning
          if len(inspect.getargspec(exception_handler).args) == 1:
              warnings.warn(
                  'The `exception_handler(exc)` call signature is deprecated. '
                  'Use `exception_handler(exc, context) instead.',
                DeprecationWarning
              )
              response = exception_handler(exc)
          else:
              context = self.get_exception_handler_context()
              response = exception_handler(exc, context)
keep keep keep keep replace keep keep keep keep keep
 Upgrade pending deprecations to deprecations 
rest_framework/views.py