Skip to content

DOMException - Not allowed to access cross-origin stylesheet #199

@fhbash

Description

@fhbash

Hello,

I'm using latest version, using dev server debug=True environment and after include:
<script type="module" src="{% static 'formset/js/django-formset.js' %}"></script> into my master.html, I got these warnings:

Image

I followed the Install instructions, excluding the part of I'm using CSS framework to be used is installed via npm which is not my case. I'm not using npm on this project.

I saw one PR which is supposed to fix this #39 but still get this warning.

Is this a bug or an miss-understanding of the installation process?

[edit]

I'm using an admin theme, and on the admin theme css I have:

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");

if I remove that from css and move to the `', stops the warning, but mess up with the layout..

is there another way to prevent this warning using django-formset?

Thanks!

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