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.7, you must also add:
‘djangocms_grid’: ‘djangocms_grid.migrations_django’,
to your settings.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
Built Distribution
Hashes for djangocms_grid-1.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f59dcbc04832be112586b8edbff7282f88551c56774d560469b6f8f3bf968e4 |
|
MD5 | b174570fa3a45db75314b89b6ff17a23 |
|
BLAKE2b-256 | 3771d3e5f809ac66e27aad05c1239a1c4f6089cc3e2daeaf93845013f72c8997 |