Metadata-Version: 1.1
Name: django-inline-svg
Version: 0.1.1
Summary: A simple SVG template tag for Django
Home-page: https://github.com/mixxorz/django-inline-svg
Author: Mitchel Cabuloy
Author-email: mixxorz@gmail.com
License: MIT License
Description: django-inline-svg |latest-version|
        ==================================
        
        |build-status| |monthly-downloads| |software-license|
        
        A simple plugin that adds an ``svg`` template tag to inline your SVGs in your
        Django templates.
        
        Installation
        ------------
        
        Install it from pypi.
        
        ::
        
            $ pip install django-inline-svg
        
        Add ``svg`` to your ``INSTALLED_APPS``.
        
        ::
        
            INSTALLED_APPS = (
                ...
                'svg',
                ...
            )
        
        Usage
        -----
        
        Store your SVGs in folder named ``svg`` at the root of any of your static file
        directories.
        
        ::
        
            my_app
            |-- static
            |   |-- svg
            |       |-- logo.svg
            |       |-- check.svg
            |       |-- cross.svg
        
        Use the ``svg`` template tag.
        
        ::
        
            {% load svg %}
        
            <h1 class="logo">{% svg 'logo' %}</h1>
        
        You can set ``SVG_DIRS`` to control where to look for your svgs.
        
        ::
        
            # settings.py
        
            SVG_DIRS=[
                os.path.join(BASE_DIR, 'my-svgs')
            ]
        
        Support
        -------
        
        The tests are run against Django 1.8, 1.9, 1.10 on Python 2.7, 3.3, 3.4, 3.5.
        
        License
        -------
        
        MIT
        
        .. |latest-version| image:: https://img.shields.io/pypi/v/django-inline-svg.svg
           :target: https://pypi.python.org/pypi/django-inline-svg/
           :alt: Latest version
        .. |build-status| image:: https://img.shields.io/travis/mixxorz/django-inline-svg/master.svg
           :target: https://travis-ci.org/mixxorz/django-inline-svg
           :alt: Build status
        .. |monthly-downloads| image:: https://img.shields.io/pypi/dm/django-inline-svg.svg
           :target: https://pypi.python.org/pypi/django-inline-svg/
           :alt: Monthly downloads
        .. |software-license| image:: https://img.shields.io/pypi/l/django-inline-svg.svg
           :target: https://github.com/mixxorz/django-inline-svg/blob/master/LICENSE
           :alt: Software license
        
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
