Skip to main content

Grid Plugin for django CMS

Project description

A Multi Column Plugin for django CMS, that uses a common grid system.

Installation

This plugin requires django CMS 2.4 or higher to be properly installed.

  • In your projects virtualenv, run pip install djangocms-grid.

  • Add 'djangocms_grid' to your INSTALLED_APPS setting.

  • Run manage.py migrate djangocms_grid.

Configure your grid

You can configure your grid using three numbers: total width of grid, number of columns, and width of the gutter in between each column:

DJANGOCMS_GRID_CONFIG = {
    'COLUMNS': 24,
    'TOTAL_WIDTH': 960,
    'GUTTER': 20,
}

The above example is the default, which, incidentally, matches the widely used 960 grid.

Usage

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

djangocms-grid-1.1.tar.gz (16.9 kB view details)

Uploaded Source

Built Distribution

djangocms_grid-1.1-py2-none-any.whl (117.0 kB view details)

Uploaded Python 2

File details

Details for the file djangocms-grid-1.1.tar.gz.

File metadata

File hashes

Hashes for djangocms-grid-1.1.tar.gz
Algorithm Hash digest
SHA256 a6a41d5621e72b33afa1c56a4fcaf8d9316415bb258fb9475b7efcf5ba955cb8
MD5 8fae33b70c10138f698dd642067c0a13
BLAKE2b-256 87e3a4820dc606bc1d94c2ddfc062824bd284455e98dc38467814dfbe007b8ea

See more details on using hashes here.

Provenance

File details

Details for the file djangocms_grid-1.1-py2-none-any.whl.

File metadata

File hashes

Hashes for djangocms_grid-1.1-py2-none-any.whl
Algorithm Hash digest
SHA256 95a3d4281ed7a8de1b23217d1ed618b2d59dfa90f89cf79d500ed3811ecadb83
MD5 ebdcc1cbe68f1315d7bedb7db8b70c4b
BLAKE2b-256 8fe41b6936c2eb25fa46ab2f571a7c39c1197a284ed9f6ae85cc83930a866a3a

See more details on using hashes here.

Provenance

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