Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/divio/djangocms-grid
A multi-column plugin, that uses a common grid system.
https://github.com/divio/djangocms-grid
Last synced: about 2 months ago
JSON representation
A multi-column plugin, that uses a common grid system.
- Host: GitHub
- URL: https://github.com/divio/djangocms-grid
- Owner: divio
- License: other
- Archived: true
- Created: 2013-05-18T11:07:02.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2015-12-04T18:53:21.000Z (about 9 years ago)
- Last Synced: 2024-02-13T10:06:44.016Z (11 months ago)
- Language: Python
- Size: 48.8 KB
- Stars: 12
- Watchers: 29
- Forks: 20
- Open Issues: 7
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-django-cms - djangocms-grid - column plugin, that uses a common grid system. (Add-ons)
README
djangocms-grid
==============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
-----.. _virtualenv: http://www.virtualenv.org/en/latest/