Metadata-Version: 1.1
Name: django-kibrit
Version: 0.1.2
Summary: Kibrit -- an open source git version parser for Django

Home-page:  http://github.com/sinanm89/kibrit
Author: sinanm89
Author-email: sinanm89@gmail.com
License: BSD
Download-URL: https://github.com/sinanm89/kibrit/tarball/0.1
Description: kibrit
        =============
        
        A git version parser for django templates.
        
        Usage:
        ------
        
        The intent of django_kibrit is to burn the css cache of the client upon a change in the project.
        
            # Somewhere in your templates
            <link href="{{ STATIC_URL }}css/screen.css{{ REVISION }}" media="screen, projection" rel="stylesheet" type="text/css" />
        
        Installation:
        ------------
        
            pip install django_kibrit
        
        Kibrit makes use of the `memcached` library in django. To enable this place
        
            CACHES = {
                'default': {
                    'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
                    'LOCATION': '127.0.0.1:11211',
                },
            }
        
        To use kibrit on your templates append the following 2 lines at the end of your projects `settings.py`.
        
            TEMPLATE_CONTEXT_PROCESSORS += 'barista.kibrit.context_processor.revision',
            INSTALLED_APPS += 'django_kibrit',
        
        The package can try to detect .git in your project automatically but it is best if you explicitly set KIBRIT_PATH in your settings to where the .git file is in your project.
        
            KIBRIT_PATH = '/path/to/your/.git/file' # You've found it when 'ls -al | grep .git' prints the .git file
        
Keywords: git,static,revision,django
Platform: Any
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: Natural Language :: English
Classifier: Natural Language :: Turkish
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Framework :: Django
Classifier: Programming Language :: Python :: 2.6
Classifier: Environment :: Console
