Skip to main content

Inject a SVG file into your Django template.

Project description

https://badge.fury.io/py/django-svg-templatetag.png https://travis-ci.org/Mediamoose/django-svg-templatetag.png?branch=master https://img.shields.io/codecov/c/github/Mediamoose/django-svg-templatetag.svg Documentation Status

Inject a SVG file into your Django template.

Documentation

The full documentation is at https://django-svg-templatetag.readthedocs.org.

Quickstart

Install Django SVG templatetag:

pip install django-svg-templatetag

Then use it in a project:

{% load svg %}

Features

  • TODO

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install -r requirements_test.txt
(myenv) $ python runtests.py

Credits

Tools used in rendering this package:

History

1.0.1 (2016-12-21)

  • Fix open file not being closed, thanks to @leeuwr.

1.0.0 (2016-08-09)

  • First release on PyPI.

Project details


Download files

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

Source Distribution

django-svg-templatetag-1.0.1.tar.gz (5.6 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