Skip to content

Recommendation for versioning exception handlers? #13

Open
@phillbaker

Description

@phillbaker

Similar to #12, was curious if there was a recommended way to handle exception response versioning. If a custom handler is defined:

REST_FRAMEWORK = { 
    'EXCEPTION_HANDLER': 'foo.bar.custom_exception_handler'
}

We can introspect the version in the handler, but was curious if there was a better way to approach it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions