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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_super_svgs-0.3.2.tar.gz.
File metadata
- Download URL: django_super_svgs-0.3.2.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.12.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92b0200ae0190987f037bbed03c9d6e908f490b862eea5c937c728b088276d6f
|
|
| MD5 |
6fd63178fe474ec40647048dc1d7d5ad
|
|
| BLAKE2b-256 |
7d40fb699a87b9ef76c4da71a0b196f66c649b49de3b9006cf0411ee97cd8410
|
File details
Details for the file django_super_svgs-0.3.2-py3-none-any.whl.
File metadata
- Download URL: django_super_svgs-0.3.2-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.13.1 Linux/6.12.7-arch1-1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f817cbb0be276b61521edf58927aec76f06bf2d6f49d08ae88309bda57769139
|
|
| MD5 |
eabf88631a2b610bdc3862910a56c7eb
|
|
| BLAKE2b-256 |
7821310a8bff0a7ebd518d408c3cfacf71f60fa171587192abff64675903ec7d
|