This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

simple implementation of gallery for feincms

Project Description

feincms_simplegallery is a simple implementation of gallery for feincms

Quick start

  1. Add “feincms_simplegallery” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'feincms_simplegallery',
    )
    
  2. 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)
    
  3. (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
    
  4. Migrate your models

Release History

Release History

This version
History Node

0.2.3

History Node

0.2.2

History Node

0.2.1

History Node

0.2.0

History Node

0.1.9

History Node

0.1.8

History Node

0.1.7

History Node

0.1.5

History Node

0.1.4

History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
feincms_simplegallery-0.2.3-py3-none-any.whl (28.0 kB) Copy SHA256 Checksum SHA256 py3 Wheel Sep 29, 2016
feincms_simplegallery-0.2.3.tar.gz (12.3 kB) Copy SHA256 Checksum SHA256 Source Sep 29, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting