Skip to main content

Convert .html files to django template with all static files link.

Project description

html2dt links the static files present in the Django project static folder to .html files.

Eg: <img src="/img/abc.jpg"> converted to <img src="{% static '/img/abc.jpg' %}">

Note- Bash shell is needed for it's working.

Installation
========

pip install html2dt

Usage
=====

html2dt index.html

Pypi url
=====

https://pypi.python.org/pypi?:action=display&name=html2dt

Project details


Release history Release notifications | RSS feed

This version

1.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

html2dt-1.1.tar.gz (1.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page