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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 679ff3e151a4e1e137b50db4aa509b1e4cdfd783aa0b03a5ec35f3e2e5a10dc6 |
|
MD5 | 9bd13060ee2d3d5605cccc39788a93d9 |
|
BLAKE2b-256 | a404c8c61467b6a7a3be27d211270b134b31205281923ab30d88afbc062b11f1 |
Close
Hashes for feincms_simplegallery-0.2.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 606a300824c23fd80b76c70fbeab7b1d2ad9e9cec1f0b8320af02b88af957621 |
|
MD5 | 3ea80f7ad0331237d8ad9be01db35a03 |
|
BLAKE2b-256 | 2d281b3e85d5f49d8387e116944861bc61669f022a99e0e5cde8abf6b734595f |