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 Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page