Metadata-Version: 1.0
Name: django_coffee_table
Version: 0.3.0
Summary: Control of tables in templates sans BS.
Home-page: https://github.com/alixedi/django_coffee_table
Author: Ali Zaidi
Author-email: alixedi@gmail.com
License: BSD
Description: =============================
        django_coffee_table
        =============================
        
        .. image:: https://badge.fury.io/py/django_coffee_table.png
            :target: http://badge.fury.io/py/django_coffee_table
            
        .. image:: https://travis-ci.org/alixedi/django_coffee_table.png?branch=master
                :target: https://travis-ci.org/alixedi/django_coffee_table
        
        .. image:: https://pypip.in/d/django_coffee_table/badge.png
                :target: https://crate.io/packages/django_coffee_table?version=latest
        
        
        Control of tables in templates sans BS. 
        
        Coffee Table now supports following ForeignKey relations using the familiar '__' notation. The icing on the cake: Coffee Table will automatically optimize your query using select_related so that each page of the table will generate a single SQL query! 
        
        Installation
        ------------
        
        we are at the cheeseshop: ::
        
            pip install django_coffee_table
        
        Usage
        -----
        
        Read on: 
        
        1. Set up dependencies according to the given docs:
            * `linaro-django-pagination <https://pypi.python.org/pypi/linaro-django-pagination/>`_
            * `django-sort <https://pypi.python.org/pypi/django-sort/0.1>`_ 
            * `django-tag-parser <https://pypi.python.org/pypi/django-tag-parser>`_ 
        
        2. Include `django_coffee_table` in your `INSTALLED_APPS` settings.
        
        3. Open your template and load up the coffee_table tags library::
        
            {% load coffee_table %}
        
        4. Basic usage::
        
            {% coffee_table object_list %}
        
        5. Advanced usage::
        
            {% coffee_table object_list field_accessors='name, content_type__app_label' 
                                        paginate_by='10' 
                                        table_class='table table-condensed' 
                                        checkbox_column=True 
                                        primary_key_column=True 
                                        help_text=True %}
        
        Please see the included demo project for more help on usage etc. Dont forget to star the repository on Github if you find this useful. A little encouragement goes a long way in helping me stay mtivated. 
        
        
        
        History
        -------
        
        0.1.0 (2013-11-26)
        ++++++++++++++++++
        
        * First release on PyPI.
        
        0.2.0 (2013-11-26)
        ++++++++++++++++++
        
        * Improved documentation.
        
        0.2.1 (2013-11-26)
        ++++++++++++++++++
        
        * Included tag_parser for kwarg parsing in the coffee_table tag.
        
        0.2.2 (2013-11-26)
        ++++++++++++++++++
        
        * Added support for FK fields in tebles using the __ notation.
        
        0.3.0 (2013-11-26)
        ++++++++++++++++++
        
        * Support for automatic queryset optimization using select_related.
        
        
        
        
        
Keywords: django_coffee_table
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.3
