Inject a SVG file into your Django template.
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-svg-templatetag-1.0.1.tar.gz
.
File metadata
- Download URL: django-svg-templatetag-1.0.1.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8aa484e51f12eafa7f7f747a833f0c0645cc9df342390eeb140a4df296eddbb0 |
|
MD5 | 55e30ad456f7bcd759724b5910844d47 |
|
BLAKE2b-256 | 2323ce679983958c56f6c5a19b79cc7f7d49cfbf3e931c44cfaa2578430d4f0f |