django-bootstrap-studio-tools
django-bootstrap-studio-tools copied to clipboard
A collection of scripts/tools to help export from Bootstrap Studio(BSS) to django template format
Bumps [lxml](https://github.com/lxml/lxml) from 4.6.3 to 4.9.1. Changelog Sourced from lxml's changelog. 4.9.1 (2022-07-01) Bugs fixed A crash was resolved when using iterwalk() (or canonicalize()) after parsing certain incorrect input. Note...
Conversion of variable reference will fail if the tag body is empty, e.g. ``. Like https://github.com/lingster/django-bootstrap-studio-tools/issues/11, string will be None, so nothing will append. If I add a space inside...
You're selecting filename with `infile = sys.argv[-1]`. In normal usage, called by BSS, it won't create any trouble. However, if image you're using it as standalone, or if something wrong...
Problem is show in your `example.html` file: ``` {{ section.title }} ``` is converted to : ``` {% block title %} {{ section.title }} {% endblock %} ``` Actually, dj-ref...
You have the same useless condition in each loop : For exemple: ``` for div in soup.find_all(attrs={"dj-load": True}): if div: forline = "{% load " + div.get('dj-load') + " %}"...
I was wondering when you are working on BSS and creating dj-for element, inside BSS you will have a single element ? Imagine it's for single column, you create the...
Explore html file recursively if subfolder are created.
For the export script, I think you should avoid this line : `source ~/venv/django-bss-tools/bin/activate` It's too specific to user environment, and it will create trouble for peoples. I had an...