Gridder layout for the Django CMS Wagtail.
Project description
Wagtail Gridder
Wagtail Gridder is a Bootstrap 4 enabled layout for the Wagtail CMS. Grid Items are created within categories, and displayed on a Grid Index Page. The JavaScript libraries Gridder and MixItUp are included.
Requirements
- Django >= 1.9
- Wagtail >= 1.9 (for ParentalManyToMany)
- Bootstrap >= 3 (optimized for Bootstrap 4; templates can be modified)
Installation
pip install wagtailgridder
Settings
WAGTAILGRIDDER_CLEAR_CACHE = False
The default Wagtail Gridder template caches the grid display area to reduce the number of queries performed. Setting WAGTAILGRIDDER_CLEAR_CACHE = True
in your Django settings will clear the entire Django cache after a page is edited. This approach is necessary, as Django does not currently support deletion from the cache by pattern. Setting this to True
will clear your cache every time you save a Wagtail page. If anyone knows of a better solution that works for Django's supported cache systems, please let us know!
Screenshots
Grid Index Page:
Grid Index Page, with Grid Item expanded:
Optional featured hero region:
Grid Item landing page:
Editing a Grid Item:
Editing a Grid Index Page:
Release Notes
0.9.19
- Wagtail 2.0 compatibility.
- Bugfix: a bad relation in
search_fields
of GridIndexPage caused problems for Elastic Search.
Contributors
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
Hashes for wagtailgridder-0.9.27-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bdc74ba45fab4dc6b99c80aab0c4de9a299e92509dcb530e9f0a81a1cfaef31d |
|
MD5 | 7c0dfa73caedf5e37dcbdf3a37882ca5 |
|
BLAKE2b-256 | 6c525926eaa471e2e2a44a12bff5761ecfa26af9c974de77c69c910cc78a2d58 |