This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Django template filter for splitting a list into columns.

Project Description

Django template filter for splitting a list into columns.

Documentation

The full documentation is at https://django-columns.readthedocs.org.

Quickstart

  1. Install the package. At the command line:

    $ pip install django-columns
    
  2. Add columns to INSTALLED_APPS.

  3. Split a list into 2 lists, to fill 2 columns:

    {% load columns %}
    
    <div class="row">
        {% for col in mylist|columns:3 %}
            <div class="col-md-4">
                {% for item in col %}
                    <div class="item">{{ item }}</div>
                {% endfor %}
            </div><!-- /col-md-4 -->
        {% endfor %}
    </div><!-- /row -->
    

History

0.1.0 (2014-05-12)

  • First release on PyPI.
Release History

Release History

This version
History Node

0.1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-columns-0.1.0.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source May 12, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting