Skip to main 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

Metadata

Release files for feincms-simplegallery 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for feincms-simplegallery 0.3.1
File Size Uploaded Provenance
feincms_simplegallery-0.3.1.tar.gz 13.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for feincms-simplegallery 0.3.1
File Interpreter ABI Platform
feincms_simplegallery-0.3.1-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 31.3 kB

Release files / feincms_simplegallery-0.3.1.tar.gz

Download URL feincms_simplegallery-0.3.1.tar.gz
Size 13.1 kB
Tags Source
SHA-256 checksum
How to use checksums
8e9cee571db19f860e8ff866d04bbeb0980867d1913814db4bece10801b735ff
BLAKE2b-256 checksum
How to use checksums
3ab19e57cce2cc720c9ae3bcda880aa4c029c3d56f4433a4db48600efb849052
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Release files / feincms_simplegallery-0.3.1-py2.py3-none-any.whl

Download URL feincms_simplegallery-0.3.1-py2.py3-none-any.whl
Size 18.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
38c0e5ccddfddf853f78d9b2aafb3a9e4aaff4486aceb8d47015b832087446cb
BLAKE2b-256 checksum
How to use checksums
5d7713b0b8845cb6ab31e5322c7ccad6af3532624b0535ac8c8ccac95fdd9625
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.2

Security for feincms-simplegallery 0.3.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page