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.7.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c495588a0fb6106d5873fcf1ba4e3241e4340fab27c8bed5aee0d761668ed0e |
|
MD5 | 91fdb20091421ccff028346b7eed0f1a |
|
BLAKE2b-256 | a18511feff383bbc93a9f1cf3e8cb3224d10f8653572b518d51a904d81cec293 |
Close
Hashes for feincms_simplegallery-0.1.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bfc811490a3b53a9b5d65a789bd61fa6c33ce1d9123c1398645176ee814301c2 |
|
MD5 | 8ad91b24b06b73f95d8329c3dfd35da1 |
|
BLAKE2b-256 | 9372fe54fb786ba414d9e8f85d8eadfb05408ac7b1da5b3c8775fbe2c011b28d |