A tool for render svg templates using Django templatetags.
Project description
Django Super SVGs
Django super svgs is a tool for render svg templates using Django templatetags.
Installation
via pip:
pip install django-super-svgs
or poetry:
poetry add django-super-svgs
Configuration
Add django_super_svgs
after django apps in INSTALLED_APPS
on settings.py
:
INSTALLED_APPS = (
...
'django_super_svgs',
)
Usage
By default django-super-svgs
provides these svgs:
Load the tag super_svgs
in your html file, then use svg
followed by svg type
[ bootstrap, dripicons, hero_outline, hero_solid ] and svg name
:
{% load super_svgs %}
{% svg hero_outline check_circle %}
Documentation
You can find the documentation here
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_super_svgs-0.2.tar.gz
(1.3 MB
view hashes)
Built Distribution
Close
Hashes for django_super_svgs-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cbf065adbd380f57b939c2b9d7cba37a84a4faa1a0f1d1577084848b9d948e5f |
|
MD5 | add9f24a4bbb8342fbc57aa081898334 |
|
BLAKE2b-256 | 4bc9f46e19f75775ee2160000f373df3ee30b0c69b00cdb27687fd546d700d37 |