Skip to main content

Control of tables in templates sans BS.

Project description

Control of tables in templates sans BS.

Installation

we are at the cheeseshop:

pip install django_coffee_table

Usage

Read on:

  1. Set up dependencies according to the given docs:
  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_names='name, content_type'
                                paginate_by='10'
                                table_class='table table-condensed'
                                checkbox_column=True
                                primary_key_column=True
                                help_text=True %}

History

0.1.0 (2013-11-26)

  • First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_coffee_table-0.2.1.tar.gz (6.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page