Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information