Skip to content

Latest commit

 

History

History
16 lines (8 loc) · 394 Bytes

README.md

File metadata and controls

16 lines (8 loc) · 394 Bytes

html2dj

Simple tool for convert html template to django template

Usage:

  1. pip install bs4

  2. place html2dj.py inside the html template folder (folder contains html files)

  3. python html2dj.py

Note: Change the parameter of the startwith function, Default value is 'assests'

assets should be changed to js if the root folder of js file is 'js' and also image, css respectively