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
Built Distribution
File details
Details for the file djangocms-grid-1.1.tar.gz
.
File metadata
- Download URL: djangocms-grid-1.1.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a6a41d5621e72b33afa1c56a4fcaf8d9316415bb258fb9475b7efcf5ba955cb8 |
|
MD5 | 8fae33b70c10138f698dd642067c0a13 |
|
BLAKE2b-256 | 87e3a4820dc606bc1d94c2ddfc062824bd284455e98dc38467814dfbe007b8ea |
Provenance
File details
Details for the file djangocms_grid-1.1-py2-none-any.whl
.
File metadata
- Download URL: djangocms_grid-1.1-py2-none-any.whl
- Upload date:
- Size: 117.0 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95a3d4281ed7a8de1b23217d1ed618b2d59dfa90f89cf79d500ed3811ecadb83 |
|
MD5 | ebdcc1cbe68f1315d7bedb7db8b70c4b |
|
BLAKE2b-256 | 8fe41b6936c2eb25fa46ab2f571a7c39c1197a284ed9f6ae85cc83930a866a3a |