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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4add0dd8a8e380abc1f9ae0804b63861e172da0613a962bd229e863591243db4 |
|
MD5 | 33dfc29703f0f002052447800d623777 |
|
BLAKE2b-256 | da0cdf5bbef311b95c0339fc892be66bbb206742c52179a0cab4d3b39ff7f8a3 |
Close
Hashes for feincms_simplegallery-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd513e00f37f9bbb1fe8c7b24d7f3f749d96af63571c28542639a23ab34dcde9 |
|
MD5 | 95a391b01b624ceace3dc653b3afed26 |
|
BLAKE2b-256 | bcd00b6b935fe21c85c8944b589e49735171fe2bc3aa8ac8bd9d21f4c6e5a792 |