iommirocks / iommi

Your first pick for a django power cord
http://iommi.rocks
BSD 3-Clause "New" or "Revised" License
804 stars 51 forks source link

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

Open akhileshThapliyal opened 3 months ago

akhileshThapliyal commented 3 months ago

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 still 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
),