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.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29a3b44a75974b5e467d5be1a7bc8fb3a74b6cf84fea2dd6f79222c142735d8c |
|
MD5 | 41b0c45419d91bf4ee2d4b7ef8f4f1db |
|
BLAKE2b-256 | aaf96741abf2cef954ee80b91a36d4da904b1af8193caf1c35f9304308bdf588 |
Close
Hashes for feincms_simplegallery-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | faf607dad51d580385d5f45d08f3a6d2e30729e19bf90ce167d1ad889642bec0 |
|
MD5 | 57f310726cbb433cac27e165f047e55b |
|
BLAKE2b-256 | eab27fa3b2ba662ff28033ef99f6ff7242242ac22df06f9dc8443a73b149f8a8 |