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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 689867c12c85110146c7be064227a7c74b8ca32e9896c0fa4cb8345ffa762977 |
|
MD5 | 128d1ab30eef382d21eddd57dc3760ae |
|
BLAKE2b-256 | cf2ab91e714276e1aa96440526c05d5ebcae8e17a6d8303cb357f718b86a48a5 |
Close
Hashes for feincms_simplegallery-0.2.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 162957a37507953a8f53c8e9586d55bcf4d0f94336d893621e842247b088cbd6 |
|
MD5 | 4b53bf879f55910b343ac04e0e45f3c3 |
|
BLAKE2b-256 | b2e7d9da9f1eeac80283de59008853b1770966d4b38584f089da677d13614d20 |