Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix exceptions in wrapped rest_framework exception handler #335

Commits on May 31, 2020

  1. fix exceptions in wrapped rest_framework exception handler

    - The request data is not guaranteed to be available in the exception
      handler, so this wraps the assignment to safely access the data.
    
    - The import path could still result in a call to ``None``, this changes
      the handler to detect ``None`` and raise either a django
      ImproperlyConfigured or RuntimeError depending what is available.
    terencehonles committed May 31, 2020
    Configuration menu
    Copy the full SHA
    dcee846 View commit details
    Browse the repository at this point in the history