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.3.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e9cee571db19f860e8ff866d04bbeb0980867d1913814db4bece10801b735ff |
|
MD5 | 312ebb75738887af9b6a654f7e47370b |
|
BLAKE2b-256 | 3ab19e57cce2cc720c9ae3bcda880aa4c029c3d56f4433a4db48600efb849052 |
Close
Hashes for feincms_simplegallery-0.3.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 38c0e5ccddfddf853f78d9b2aafb3a9e4aaff4486aceb8d47015b832087446cb |
|
MD5 | b99a69c63534b0c11cdbbc243bf2978a |
|
BLAKE2b-256 | 5d7713b0b8845cb6ab31e5322c7ccad6af3532624b0535ac8c8ccac95fdd9625 |