Metadata-Version: 2.0
Name: feincms-simplegallery
Version: 0.2.0
Summary: simple implementation of gallery for feincms
Home-page: https://github.com/paramono/feincms_simplegallery
Author: Alexander Paramonov
Author-email: alex@paramono.com
License: BSD License
Platform: UNKNOWN
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content

=====================
feincms_simplegallery
=====================

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


