simple implementation of gallery for feincms
Project description
feincms_simpletable 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 tables 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) ) ) # tables will be rendered as either of these, depending on admin choice: # templates/content/feincms_simpletable/default.html # templates/content/feincms_simpletable/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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 825e5e5aae3fd3f491738136dfbe8978c8924a1f82d5f2a6d399aa4eb1f06b30 |
|
MD5 | accb3ffa81633f995784e912c7f5f376 |
|
BLAKE2b-256 | b278785621ef911a8b39d6197cf1292567c9ddfc66f804a580ed12624e75a32a |
Close
Hashes for feincms_simplegallery-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 01e49331ef7efacea213b95d0b456b19988f22b19095394856112e73d2b1827a |
|
MD5 | 892653feff3a3a57dd86d8ed2e9f5e79 |
|
BLAKE2b-256 | 1c88b6d14391e4986064bf3bfacec857d4a854768f5adb80571a90edc9cfa113 |