Column Plugin for django CMS
Project description
A Multi Column Plugin for django CMS.
Note about the fork
This is a release of the master branch of djangocms-column, which is compatible with newer versions of Django but not published on PyPI.
Installation
This plugin requires django CMS 2.4 or higher to be properly installed.
In your projects virtualenv, run pip install djangocms-column-fork.
Add 'djangocms_column' to your INSTALLED_APPS setting.
If using Django 1.6 and South < 1.0.2, add 'djangocms_column': 'djangocms_column.south_migrations', to SOUTH_MIGRATION_MODULES (or define SOUTH_MIGRATION_MODULES if it does not exist);
Run manage.py migrate djangocms_column.
Usage
There are 2 plugins: MultiColumn and Column The first is MultiColumn that should be added to your placeholder conf. MultiColumn only allows one plugin as a child: the Column plugin. The Column plugin has a parameter width. With this parameter you can control the width of the column.
You can add a new setting to your settings.py called COLUMN_WIDTH_CHOICES
the default is:
COLUMN_WIDTH_CHOICES = ( ('10%', _("10%")), ('25%', _("25%")), ('33.33%', _('33%')), ('50%', _("50%")), ('66.66%', _('66%')), ('75%', _("75%")), ('100%', _('100%')), )
but you can change that to fit your CSS grid framework or other purposes.
Translations
If you want to help translate the plugin please do it on transifex:
https://www.transifex.com/projects/p/django-cms/resource/djangocms-column/
Project details
Release history Release notifications | RSS feed
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-column-fork-1.7.2.tar.gz
.
File metadata
- Download URL: djangocms-column-fork-1.7.2.tar.gz
- Upload date:
- Size: 23.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be76cdfe102eb5fd4f3849d8f94fd62e628c4d5c213e2c0d46dc773f2d48b8fd |
|
MD5 | 74c61c1a29d66a6d36baab82d9a0d873 |
|
BLAKE2b-256 | e00abcfb8b41e4044b7651691f3fde614c967a11f1b521f1e960e1ca25da4393 |
Provenance
File details
Details for the file djangocms_column_fork-1.7.2-py2.py3-none-any.whl
.
File metadata
- Download URL: djangocms_column_fork-1.7.2-py2.py3-none-any.whl
- Upload date:
- Size: 125.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2fa027b56b8e16dda5ec1d12c4623547de360fcc42448bbd358aa9268660040 |
|
MD5 | f0ba9a020b69003d8abd19b040b39e2a |
|
BLAKE2b-256 | d7a3e3bc1cc73b23fc16d21880473b0c825156d664cc60cb17a6d26996004c32 |