{% load staticfiles %} {% for style in theme.get_styles %} {% endfor %} {% for library in theme.get_libraries %}{% for style in library.get_styles %} {% endfor %}{% endfor %}