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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e4873fac9a323a9edd695d2e9db277c7c866f6746a01aa78ccdf2499266fab80 |
|
MD5 | e0a5d7530535013f6d470f2ff9b41385 |
|
BLAKE2b-256 | 3e4e06a54e354379a39abc71711cde5a218b8dba84ee7a5bd1a3495914ee29ef |
Close
Hashes for feincms_simplegallery-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f570a08ed2e62190bcac428984e7e542667b475fca81f3e390a74e0aa3673c97 |
|
MD5 | 06a3d825bbd03895e60da683ff73d013 |
|
BLAKE2b-256 | 7021511c6e24f35e95d776416b2ef04477b527270b585ddd1d65633cce4e78e7 |