simple implementation of gallery for feincms
Project description
feincms_simplegallery is a simple implementation of gallery for feincms
Quick start
Add “feincms_simplegallery” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = ( ... 'feincms_simplegallery', )
If you intend to use it as feincms content type, register GalleryContent for your Page model (or any other Base-derived model) like this:
from feincms_simplegallery.models import GalleryContent # ... Page.create_content_type(GalleryContent)
(optional) It is possible to define TYPE_CHOICES for GalleryContent if you want to render galleries using different templates:
from feincms_simplegallery.models import GalleryContent # ... Page.create_content_type(GalleryContent, TYPE_CHOICES=( ('default', 'default template'), ('other', 'some other template'), # ... (other types) ) ) # galleries will be rendered as either of these, depending on admin choice: # templates/content/feincms_simplegallery/default.html # templates/content/feincms_simplegallery/other.html # ... Some of the templates (grid and lightbox) are bundled with the plugin
Migrate your models
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
Close
Hashes for feincms_simplegallery-0.1.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60dbdff35b46e27144d553a48d1196d65c6dee0269707788587f5f692e4efbef |
|
MD5 | 4ee92b40c7fbe1f86be96e2ca725625a |
|
BLAKE2b-256 | 0627042fe99a97283319dce7500b4caf72e118ef6b146bc4a90be879175a9223 |
Close
Hashes for feincms_simplegallery-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05f65474c755b0446f78cdcbe85154461a342068b985d5b497850e00605db130 |
|
MD5 | 0d559c297b24813da0ca794d40daa92e |
|
BLAKE2b-256 | b0c913717e340c939009c5a23d3b7b670bec3400e85eb850b850303ce81ccfc0 |