Skip to content

Hard to integrate with CSP rules in place #531

@sgelis

Description

@sgelis

django-silk makes extensive use of inline <style> and <script> tags in its templates. This makes it very hard to :

  • Override default behavior of style and/or scripts (whole template needs to be overridden).
    -Apply CSP rules properly on a project that wants to use Silk and proper CSP rules (almost all templates must be overridden to add nonce attributes all over the place).

Was there a historical reason to put all these <style> and <script> tags inline? Would a PR addressing this issue be considered OK for maintainers?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions