Skip to main content

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.3.0.tar.gz (1.4 MB view hashes)

Uploaded Source

Built Distribution

django_super_svgs-0.3.0-py3-none-any.whl (1.4 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page