| from drf_problems.utils import register | |
| @register | |
| class InvalidVersionRequestedException(exceptions.NotAcceptable): | |
| default_code = 'invalid_version' | |
| title = 'Invalid API version' | |
| default_detail = 'Provided API version is invalid.') | |
| description = 'Malformed or unsupported version string is provided with the request.' |