Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/django-cms/djangocms-column
Column Plugin for django-cms
https://github.com/django-cms/djangocms-column
Last synced: 5 days ago
JSON representation
Column Plugin for django-cms
- Host: GitHub
- URL: https://github.com/django-cms/djangocms-column
- Owner: django-cms
- License: bsd-3-clause
- Created: 2012-10-24T14:15:58.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2024-05-10T15:26:49.000Z (8 months ago)
- Last Synced: 2024-05-11T11:46:50.033Z (8 months ago)
- Language: Python
- Size: 120 KB
- Stars: 18
- Watchers: 28
- Forks: 45
- Open Issues: 6
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGELOG.rst
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-django-cms - djangocms-column
README
djangocms-column
================A Multi Column Plugin for django CMS.
Installation
------------This plugin requires `django CMS` 3.8 or higher, or 4.0 or higher to be properly installed.
* In your projects virtualenv, run ``pip install djangocms-column``.
* Add ``'djangocms_column'`` to your ``INSTALLED_APPS`` setting.
* 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/