Metadata-Version: 1.0
Name: django-ttag
Version: 2.0
Summary: A template tag constructor library for Django.
Home-page: http://github.com/lincolnloop/django-ttag
Author: Chris Beaven
Author-email: chris@lincolnloop.com
License: MIT
Description: ===========
        django-ttag
        ===========
        
        TTag is a template tag constructor library for Django created for the purpose
        of making writing template tags easier.
        
        The tag syntax is modelled on Django's friendly syntaxes for models and forms.
        Here is a full example tag::
        
            class Welcome(ttag.Tag)
                user = ttag.Arg()
                fallback = ttag.Arg(named=True, default='Hi!')
        
                def output(self, data)
                    name = data['user'].get_full_name()
                    if name:
                    	return 'Hi, %s!' % name
                    return data['fallback']
        
        This would produce a tag named ``welcome`` which can be used like this::
        
            {% welcome current_user fallback "Hello, anonymous." %} 
        
        More comprehensive usage and reference documentation can be found in the
        ``docs`` directory, or at http://packages.python.org/django-ttag/.
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
