Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Styles root assets include attribute when set to True doesn't work #553

Open
akhileshThapliyal opened this issue Aug 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@akhileshThapliyal
Copy link

akhileshThapliyal commented Aug 10, 2024

When I use the following setting in my custom style it works ie., by setting __include to False. However, setting it to "True" doesn't work .ie it doesn't include the styles. Logically it should.

Django + Iommi Playground: https://github.com/akhileshThapliyal/django_plaground

This configuration below correctly excludes the CSS and JS.

root__assets=dict(
    css__include=False,
    popper_js__include=False,
    js__include=False,
    jquery__include=False
),

This configuration below still excludes the CSS and JS.

root__assets=dict(
    css__include=True,
    popper_js__include=True,
    js__include=True,
    jquery__include=True
),

This configuration includes the CSS and JS.

root__assets=dict(
        # css__include=True,
        # popper_js__include=True,
        # js__include=True,
        # jquery__include=True
),
@boxed boxed added the bug Something isn't working label Dec 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants