Skip to main content

Inject a SVG file into your Django template.

Project description Documentation Status

Inject a SVG file into your Django template.


The full documentation is at


Install Django SVG templatetag:

pip install django-svg-templatetag

Then use it in a project:

{% load svg %}


  • TODO

Running Tests

Does the code actually work?

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


Tools used in rendering this package:


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.

Files for django-svg-templatetag, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-svg-templatetag-1.0.1.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page