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.

If you are using Django 1.6 and South < 1.0.2, you must also add:

‘djangocms_grid’: ‘djangocms_grid.migrations_django’,

to your settings.SOUTH_MIGRATION_MODULES.

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.3.0.tar.gz (18.0 kB view details)

Uploaded Source

Built Distribution

djangocms_grid-1.3.0-py2-none-any.whl (119.9 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for djangocms-grid-1.3.0.tar.gz
Algorithm Hash digest
SHA256 a6332f1d21d1099fc4f2c5114bc6568c341c7af3ba9643c327fb7bc6cfbd69d5
MD5 8637cd5ff92ed76b1f6dded790855609
BLAKE2b-256 047e6a1d3b1b69c125b7c936ec8fb79302e844227b7420970eba2ebaa7bb17de

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for djangocms_grid-1.3.0-py2-none-any.whl
Algorithm Hash digest
SHA256 c74a113f7cdc5db1ccc0850b8bd393157cdfd07164fa4acaa1fc670bb94a0e28
MD5 5e9120231e7cf24c7927c76012b5528b
BLAKE2b-256 a3f21ab1b506458b4d65e8952efb5d919f02a4c25ea240bd73cad292aceee70a

See more details on using hashes here.

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