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.8.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1024d1128ba014c876892f8b56129a56546ebf2f545887f5e99bdc7a220c3d13 |
|
MD5 | fb0aacc165ec5c954b5c5d6950e36a8d |
|
BLAKE2b-256 | 9de8cee25b726ef41a264fd182610decce3a43a73ba8dc9dcb77e0ff062b578c |
Close
Hashes for feincms_simplegallery-0.1.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e78833f12e3cefe00b102b3cac2e115fc44a61cb95b80fda27b8976b7e63d612 |
|
MD5 | df5a7da7f094795310ccbdedb7f91c3e |
|
BLAKE2b-256 | 55b6b41a780abc99b65450265600d511fd96940808f0ad872f52aa0234515952 |