Skip to content

hope the silk should not be access when set DEBUG=False #723

Open
@Cherrymelon

Description

@Cherrymelon

I think it is weird that silk page can be access when DEBUG=False,
and I add a new setting SILKY_INTERCEPT_FUNC = lambda r: settings.DEBUG
So, for avoid silk be accessed in prod env,I have to delete url endpoint ,I think it control by DEBUG variable is more elegant

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions