Skip to content

[QUESTION] How to enable CORS for all the paths using cbv inferring routers #281

@xalien10

Description

@xalien10

I was trying to use CORSMiddleware according to provided instructions.
But it seems like the cbv is not allowing preflight options request by responding 405 method not allowed as I didn't add options method explicitly.

How can I use cors middleware with cbv to allow cors for any request?

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions