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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc073af0c6790191e593634c52c505d554e84740e7af59a7ca338b2ab40ade86 |
|
MD5 | 65102ca62576bbea0cb46028221a45ec |
|
BLAKE2b-256 | 225dd31d61ae68896b42b84cb2e76cdb2e560f6a4949a76658048440e8c79993 |
Close
Hashes for feincms_simplegallery-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f495c97e6f4630acd4d885b0427162f8c9025d242ae3b5ce1081ad099da08b |
|
MD5 | 1f6feeb50a32bb1036b643167c94c3ad |
|
BLAKE2b-256 | 8e48cd43ebbde71116a197d8a790a3f519fe3967a425c2cc2abf21c07e49faca |