Skip to main content
=================
djangocms-section
=================

Section is a DjangoCMS plugin for displaying a section consisting of a FilerImage and TextPlugin instances.
The app can be configured to offer multiple layouts to the user.

Requires `django-filer` and `easy_thumbnails`.

Quick start
-----------
1. Install with your favorite tool
2. Add `'section'` to `INSTALLED_APPS`.
3. Configure a `'preview'` thumbnail alias for easy_thumbnails if you're going to use the default template like so::
THUMBNAIL_ALIASES = {
'preview': {
'size': (320, 150),
'crop': 'smart',
},
}

4. Enjoy adding a Section plugin to a page.

Custom layouts
--------------
You can add as many layout templates as you desire. See `templates/section/default.html` for an example.
Don't forget to render the placeholder for the text plugins.
The templates have to be enabled in the settings::
SECTION_STYLE_CHOICES = (
('default', _('default')),
('lightbox', _('with lightbox')),
)

Release files for djangocms-section 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djangocms-section 0.1
File Size Uploaded
djangocms-section-0.1.tar.gz 5.9 kB Details

Release files / djangocms-section-0.1.tar.gz

Download URL djangocms-section-0.1.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a7955c6ea9750a8c725c932ec2a7479e31efe26bb636489bdcff3dd224e44967
BLAKE2b-256 checksum
How to use checksums
848ed0e7a7515506148b9d0c5493dcdb812546299c90a70f13709f63670e4a7d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page