Skip to main content
https://badge.fury.io/py/django-columns.png https://travis-ci.org/audreyr/django-columns.png?branch=master https://coveralls.io/repos/audreyr/django-columns/badge.png?branch=master

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 files for django-columns 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-columns 0.1.0
File Size Uploaded
django-columns-0.1.0.tar.gz 5.6 kB Details

Release files / django-columns-0.1.0.tar.gz

Download URL django-columns-0.1.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
cd5ffb9b1e31908dba058344fc0e7def2367f13b6fa4c9a6b801e29fc864fdf9
BLAKE2b-256 checksum
How to use checksums
ac5a5178d6f6d070e91877b163a21f9990b57d62c9f146a41c8e3fcf0493e5b5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page