Skip to content

Simple tool for convert html template to django template

License

Notifications You must be signed in to change notification settings

ConnorRyan-8451/html2dj

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple tool for convert html template to django template

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%