Metadata-Version: 1.1
Name: django-unload
Version: 0.3.1
Summary: Remove unused custom Django template tags and filters
Home-page: https://github.com/Styria-Digital/django-unload
Author: Styria Digital Services
Author-email: UNKNOWN
License: MIT
Description: README
        ======
        
        .. image:: https://travis-ci.org/Styria-Digital/django-unload.svg?branch=master
            :target: https://travis-ci.org/Styria-Digital/django-unload
            
        .. image:: https://coveralls.io/repos/github/Styria-Digital/django-unload/badge.svg?branch=master
            :target: https://coveralls.io/github/Styria-Digital/django-unload?branch=master
        
        
        Requirements
        ------------
        
        * Python 2.7+, 3.4+
        * Django 1.8 (1.9 support will be added later)
        * Tabulate
        
        
        Setup
        -----
        
        Ensure that ``'unload'`` is in your project's ``INSTALLED_APPS``::
        
           INSTALLED_APPS = [
               ...
               'unload',
               ...
           ]
        
        Usage
        -----
        The plugin is used as a command line tool. It can either be used to scan all template files in the project or the templates in the specified Django app.
        
        Scan all template files in the project: ``$ python manage.py find_unnecessary_loads``.
        
        Scan all template files in the specified app: ``$ python manage.py find_unnecessary_loads --app <app_name>``.
        
        Output
        ------
        The output is sent to the console. Although all template files are scanned, only templates with issues and the issues in question are displayed. The issues are displayed in two tables:
        
        1. The first table points to duplicate loads;
        
        2. The second table simply lists unutilized modules, tags and filters;
        
        Example
        -------
        /path/to/template.html
        
        +--------------------+------------------------+---------------+
        | Duplicate module   |   Duplicate tag/filter | Line number   |
        +====================+========================+===============+
        | some_module        |                        | 10, 23        |
        +--------------------+------------------------+---------------+
        | some_other_module  | some_tag               | 14, 47        |
        +--------------------+------------------------+---------------+
        
        +---------------------------+-------------------------+
        | Unutilized module         |   Unutilized tag/filter |
        +===========================+=========================+
        | some_module               | some_tag                |
        +---------------------------+-------------------------+
        | some_other_module         | some_filter             |
        +---------------------------+-------------------------+
        
Keywords: django template tag filter
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
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.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
