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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41e6f3b184084420c1668cd6a0e2bdfebf282de7973322871a687daa7aa60bd1 |
|
MD5 | 9f87cb2e2ec1d10061cf6f5dc2fae463 |
|
BLAKE2b-256 | 3e0527c3afc98043c4f3b225e7130309e09c24bfcee4bb2452e1dc1df88ff2f6 |
Close
Hashes for feincms_simplegallery-0.1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e010be40e23e5d1587b7b150bb7b354f2b72601fde0f8fb499a67396462ca9e7 |
|
MD5 | 01d1736cdc593c64bde1e68c704f1896 |
|
BLAKE2b-256 | 8cee9a9efbfe38f16c1e1d18cd9d5225dd8992866f087595534d0804114fbb97 |